Quantcast
Channel: wp-super-cache – WordPress.org Forums
Viewing all articles
Browse latest Browse all 3480

johnmontfx on "[Plugin: WP Super Cache] Force cache on certain pages?"

$
0
0

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?

http://wordpress.org/extend/plugins/wp-super-cache/


Viewing all articles
Browse latest Browse all 3480

Trending Articles