WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Force cache on certain pages? (1 post)

  1. johnmontfx
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic