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

  1. johnmontfx
    Posted 2 years 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic