WP Rocket Page Cache gets disabled on WooCommerce products
-
When this plugin is active, regardless if you have password protected products, will disable page cache with WP Rocket (and most likely other plugins as well) for all pages.
The plugin uses the WooCommerce woocommerce_product_is_visible filter and calls ppws_nocache_headers() regardless if any products should be not visible or … Well. Regardless. ??
It calls ppws_nocache_headers() which sets the defined DONOTCACHEPAGE to true which causes WP Rocket to skip page cache. On all products.
I have not looked deeper right now but it might be on other types of pages as well.
I think I understand why but it causes problems. ?? So wanted to see if you have a solution?
- You must be logged in to reply to this topic.