Skip to content

Releases: wp-media/wp-rocket

3.2.1

08 Nov 17:49
ae9c35a
Compare
Choose a tag to compare
  • Enhancement: Improve the query strings caching handling, removing specific parameters from the URLs and ordering the remaining alphabetically, to improve cache file creation
  • Enhancement: Serve the gzip version of the cache file even without the Apache rewrite rules
  • Enhancement: Ignore mandatory cookies on known hostings with server-side cache to correctly apply other optimizations on the cached file
  • Enhancement: Improve new partial preload efficiency
  • Enhancement: Apply CDN on custom media uploads folder
  • Enhancement: Apply CDN on links to images when only images is selected in the CDN settings
  • Enhancement: Add a way to hide the "my account" section on the dashboard with the WP_ROCKET_WHITE_LABEL_ACCOUNT constant
  • Enhancement: Add webP to the htaccess expires rules
  • Regression fix: Don't apply lazyload on wp_get_attachment_image() as it's causing issues with some themes removing the custom HTML attributes necessary for the lazyload process
  • Bugfix: Prevent a 404 error related to the lazyload script source map file missing
  • Bugfix: Correct a browser caching issue for some customers
  • Bugfix: Correct a bug preventing query strings caching on Windows servers
  • Bugfix: Prevent a PHP fatal error when WPML is disabled via the network setup on multisite
  • 3rd Party Compatibility: Auto-detect The SEO Framework XML Sitemap
  • 3rd Party Compatibility: Apply CDN on Beaver Builder Parallax images

3.2.0.1

07 Nov 16:04
b20c2eb
Compare
Choose a tag to compare
  • Improve compatibility with loading time testing tools when using a plugin requiring cookies, like the various GDPR plugins

3.2

06 Nov 13:46
83dd655
Compare
Choose a tag to compare
3.2
  • New feature: Control WordPress Heartbeat API directly from WP Rocket. You can reduce its activity or disable it, independently on the admin, post editor page and frontend
  • New feature: Facebook tracking local cache. Create a local copy of Facebook tracking scripts, to improve browser caching. This will improve your score on GTMetrix
  • Enhancement: Revamped the preload feature. It no longer uses an external bot, but a background process instead. This will make the process faster and more efficient. We also updated WP Rocket preload settings tab to make the options easier to understand, and added the possibility to stop a preload currently running
  • Enhancement: Favicons and touch icons URLs are now rewritten to use the CDN URL if the CDN is active for images
  • Enhancement: You can now define a custom cache path and URL, using the constants WP_ROCKET_CACHE_ROOT_PATH and WP_ROCKET_CACHE_ROOT_URL
  • Enhancement: You can now decide to serve the mobile version of the cache to tablets instead of the desktop version, by using the new filter rocket_cache_mobile_files_tablet
  • Enhancement: Lazyload is now applied on image displayed using the wp_get_attachment_image() function
  • Enhancement: Add additional inline JS patterns to auto-exclusion from combine JS
  • 3rd party compatibility: Added a new Rocket Add-On for Sucuri compatibility. You can now activate it and add your Sucuri API Key, and Sucuri cache will be automatically cleaned and synced with WP Rocket cache
  • 3rd party compatibility: Improve compatibility with the Cookie Notice plugin
  • 3rd party compatibility: Improve compatibility with the WeePie Cookie Allow plugin
  • 3rd party compatibility: Improve compatibility with the GDPR plugin
  • Bugfix: Prevent a fatal error related to composer when changing the installation path, either by moving it manually or using a staging system
  • Bugfix: Lazyload was not correctly applied on some iframes.

3.1.4

17 Sep 16:27
33578f0
Compare
Choose a tag to compare
  • Enhancement: automatically move some inline JS depending on jQuery after the combined file to prevent JS errors
  • Enhancement: any external or inline JS between noptimize HTML comments will be ignored during JS combine
  • Enhancement: optimize Youtube play image used for the Replace YouTube iframe with preview image option
  • Bugfix: caching now works with a URL using a port number
  • Bugfix: prevent the Google recaptcha iframe fallback from being incorrectly displayed when using the Lazyload iframes option

3.1.3.2

02 Sep 15:08
Compare
Choose a tag to compare

Notice: This patch is only to prevent the false positive warning about a file containing a suspected malware URL. The URL in question was present in a comment in the file concerned. Comments are not executable code, and thus, the presence of this URL in the comment cannot cause any direct harm to our users websites. We removed the URL to stop the warning in Wordfence.

3.1.3.1

30 Aug 12:38
Compare
Choose a tag to compare
  • Bugfix: Prevent issues when inline javascript has comments in it with combine JS active

3.1.3

29 Aug 17:09
f3a6629
Compare
Choose a tag to compare
  • Enhancement: Update Pagely compatibility to handle cache deletion
  • Enhancement: Add a new textarea field to include inline Javascript from WP Rocket settings
  • Enhancement: 3rd party Javascript can be excluded from the same textarea field as the internal Javascript files
  • Enhancement: Automatically exclude inline Javascript added by wp_localize_script() from combine Javascript, as it is not necessary and can cause issues
  • Bugfix: Auto-exclude gist.github.com and content.jwplatform.com from defer JS to prevent display issues
  • Bugfix: Prevent a possible PHP fatal error when importing settings from a site with Cloudflare active to a site with Cloudflare inactive
  • Bugfix: Prevent cache not working when the site path ended with the character 2
  • Bugfix: Prevent cross-origin fonts htaccess rules from being added when they shouldn't

3.1.2

21 Aug 13:28
5caf48c
Compare
Choose a tag to compare
  • Enhancement: Auto-exclude additional inline scripts to improve compatibility for the combine JS option
  • Enhancement: The option Replace YouTube iframe with preview image new works with Youtube cookieless domain
  • 3rd party enhancement: Clear WP Rocket cache when Beaver Builder clears its own cache
  • Bugfix: Prevent minifying/combinying styles/scripts that are commented in the HTML markup
  • Bugfix: Prevent a PHP fatal error when trying to make a donation with Give and the sequential order option active
  • Bugfix: Prevent display issue on a Youtube playlist with the option Replace YouTube iframe with preview image
  • Bugfix: Preserve video parameter when using the option Replace YouTube iframe with preview image
  • Bugfix: Prevent a 404 error in Google Search Console for the lazyload script
  • Bugfix: Prevent returning to Beaver Builder builder page when using the clear cache link in the admin bar

3.1.1.1

10 Aug 20:05
db71191
Compare
Choose a tag to compare
  • Regression fix: Prevent a PHP fatal error "undefined function" on activation on Apache, because the fuctions were in a file not loaded in the activation hook

3.1.1

10 Aug 14:39
1d3abba
Compare
Choose a tag to compare
  • Bugfix: Prevent the plugin from removing custom cron schedules if the Google Tracking Add-on is not active
  • Bugfix: Prevent a PHP Fatal Error is a call to a deprecated WP Rocket function is made by another plugin
  • Bugfix: Improve URL to path conversion function to prevent errors with some relative CSS/JS URLs during minification/combine/remove query strings
  • Bugfix: Add more default exclusions to combine Javascripts files to prevent errors
  • Bugfix: WP Rocket can now be correctly disabled if activated on the network level on multisite
  • Bugfix: Correctly exclude the REST API on multisite sub-sites
  • Bugfix: Correctly recreate the wp-rocket-config folder if it doesn't exist
  • Bugfix: Correctly position the show sidebar slider for RTL languages
  • Bugfix: Don't display the show sidebar slider on the license screen