Wordpress LScache Plugin: DONOTCACHE(PAGE|OBJECT|DB) variables
Last Updated on: Wed, 15 Apr 2026 00:00:02 Recent versions of the WooCommerce plugin uses the following variable to specify which pages (and AJAX requests) should not be cached: define(DONOTCACHEPAGE, true) define(DONOTCACHEOBJECT, true) define(DONOTCACHEDB, true) I saw that LSCache has some special code to recognize WC pages (cart, checkout, my-account). Wouldnt it be better (and more forward-compatible) to rely on the variables instead? Hi @chamois_blanc, thanks for the suggestion, we will include this feature in next release! Thatd be awesome since my Google News sitemap plugin uses these too
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference