Staggered release available for 25% of customers.
Bugfix: Clear data related to Optimize Critical Images feature upon the update to make sure PHP warning is not logged (#6729)
3.16.1 June 19, 2024
Enhancement: Guard Optimize Critical Images feature from preloading not expected LCP image markups (#6647)
Enhancement: Make the pre-warmup process of Optimize Critical Images feature asynchronous (#6609)
Enhancement: Add a new filter to control the waiting time for Optimize Critical Images script (#6673)
Enhancement: Block the pre-warmup process of Optimize Critical Images feature for the local environments (#6589)
Enhancement: Display the Clear Critical Images button of Optimize Critical Images feature for the local environments (#6668)
Enhancement: Add “section” and “header” to the elements that can be considered as LCP when using Optimize Critical Images feature (#6667, #6631)
Enhancement: Update the Image Optimization tab in WP Rocket’s settings (#6632)
Enhancement: Reduce the resource usage of the ajax request when the page is not cached yet while using Optimize Critical Images feature (#6571)
Enhancement: Update the Delay JavaScript script to the 1.2.6 version (#6646)
Improve the feature’s error logging to make it more descriptive
Fix a problem when JavaScript was not triggered correctly in some cases when the interaction happened during the page load
Fix CSP problems with Delay JavaScript feature
Fix a problem with sticky element not being sticky when Delay JavaScript is used
Fix an incompatibility with CookieCode banner plugin
Bugfix: Fix a preload markup for Optimize Critical Images feature when specific container and its pseudo element have both background images (#6634)
Bugfix: Make sure to preload and exclude from Lazy Load correctly LCP images with special characters when Optimize Critical Images is enabled (#6639, #6693, #6524)
Bugfix: Guard against fatal when providing not expected data into Optimize Critical Images feature (#6690)
Bugfix: Prevent 404 error for “lcp-beacon.js.map” file (#6679)
Bugfix: Make sure to apply fetchpriority attribute to the LCP image when its source is relative while using Optimize Critical Images feature (#6604)
Bugfix: Fix Mobile Cache button in the tools section (#6643)
New Feature: Optimize Critical Images– Automatically detect LCP, above the fold images and optimize them. This feature is automatically enabled (documentation)
Enhancement: Auto-enable Separate Cache Files for Mobile Devices and remove UI checkbox, move User Cache to Add-ons, move Cache Lifespan to Advanced Rules (#5992)
Enhancement: Improve the way how the .htaccess file is manipulated (#928)