BenjaminAdams / wp-redis-cache

Cache Wordpress faster
157 stars 37 forks source link

It cached the checkout on Woocommerce #48

Open kevin25 opened 8 years ago

kevin25 commented 8 years ago

It doesnt work with WooCommerce. How can I configured it to avoid caching cart and Checkout page?

lkraav commented 6 years ago

Caching plugins need to observe the well-known DONOTCACHEPAGE constant.

BenjaminAdams commented 6 years ago

Do something here to prevent it from going into the if condition.

https://github.com/BenjaminAdams/wp-redis-cache/blob/e1d4b22d86f23ceeb58df856d2374fb475181270/index-wp-redis.php#L96

On Wed, Jun 20, 2018, 3:40 PM Leho Kraav notifications@github.com wrote:

Caching plugins need to observe the well-known DONOTCACHEPAGE constant.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BenjaminAdams/wp-redis-cache/issues/48#issuecomment-398889194, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXVbP9jD_gfVrFO5Nxx5cDivswZziREks5t-rM4gaJpZM4KCaP3 .