My site is using WPROCKET and using Cloudfare CDN. After 7.0 update the caching has stopped working, hence I reached out to WPROCKET team. Findings are below
Findings
—-
The Woodmart theme is incorrectly adding a (.*) to wprocket exclusions filter.
And this excludes all the URLs from caching,
Why is this happening?
On Woodmart version 7.0.4, this is happening in their WP Rocket compatibility file, which can be found here:
/wp-content/themes/woodmart/inc/integrations/rocket.php
The theme is adding the exclusion on line 95, with the woodmart_rejected_uri_exclusions()
function, which is hooked to the rocket_cache_reject_uri filter.
The function ends up adding a (.*) to wprocket exclusions
Code image Full image here: https://i.imgur.com/gxTuQCv.png
I thought to let you know, if this is not reported yet, please consider the fix. For now wprocket team has provided a custom fix plugin so the site is working. Alterntaively let me know if you are fixing this soon