Force cache on certain pages?
-
Is there a way to force a supercache on a given page?
I’ve successfully used DONOTCACHEPAGE in my functions.php to exclude certain pages/requests from being cached and that works great.
But I do have some requests that are GET variables that I use to do certain functions and they’re not supercached. Plus, the pages could be cached for logged in users in many cases since they are the same.
So I guess what I’d like to do is say
if ( something) {
define(ALWAYSCACHEPAGE, “true”);
}Any suggestions?
- The topic ‘Force cache on certain pages?’ is closed to new replies.