i have a problem with woodmart and wp-rocket.
According to WP-Rocket support, the following bug needs to be fixed:
Woodmart has an issue that excludes all the pages from WP Rocket’s cache, and unfortunately, this can’t be fixed by us, since this is an error in the code of Woodmart.
The Woodmart theme is incorrectly adding a (.*) to our exclusions filter.
And this excludes all the URLs from caching,
You should report it to their support team, so they can fix it.
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
They are adding the exclusion on line 95, with the woodmart_rejected_uri_exclusions()
function, which is hooked to our rocket_cache_reject_uri filter.
The function ends up adding a (.*) to our exclusions.
They will need to review the code and prevent an empty line from appearing in the $uris array.
I think this way, the (.*) won’t be added to our exclusions.

I’m happy to hear from you