DONOTCACHEPAGE. Woocommerce 3.x.x Enables DONOTCACHEPAGE globally
-
After trying to debug every plugin that i have available, and why none-of my pages would be cached, i tried the following:
– Enable WP Rocket debugging:
> Installed WP Rocket | Constants Debug Helper
> Logs: constant DONOTCACHEPAGE is true
– Changing themes
> Logs: constant DONOTCACHEPAGE is true
– Disabling all (3rd party) plugins besides WooCommerce
> Logs: constant DONOTCACHEPAGE is true
– Disabeling WooCommerce
> Logs: constant DONOTCACHEPAGE is false
– Changing line 175 in class-wc-cache-helper.php to
> wc_maybe_define_constant( ‘DONOTCACHEPAGE’, false );
> Logs: constant DONOTCACHEPAGE is falseTo my believe this makes caching pretty much unavailable if every page that’s loaded – even a home page – get flagged as DONOTCACHEPAGE, true.
Anybody with a fix or an idea how the hell this is possible?
- The topic ‘DONOTCACHEPAGE. Woocommerce 3.x.x Enables DONOTCACHEPAGE globally’ is closed to new replies.