WP Super Cache
Can I set just the Home Page to be cached? (3 posts)

  1. Shane777
    Posted 5 years ago #

    Hello, I have an ecommerse site with shopping cart etc. Im seeking to set it so that just the Home page is cached. is this possible? Because I wouldnt want the shopping cart pages being cached (then they wouldnt see what they just orderd).

    Or is there a way to add the shopping cart pages to the "no cache string section". Like disable caching all pages that start with: mysite.com/store/*

    Are either of those scenereos possible?

    ps. Thanks for this great plugin.

  2. Donncha O Caoimh
    Plugin Author

    Posted 5 years ago #

    Yeah, you'll need to code a small plugin that sets the constant DONOTCACHEPAGE when any other page is loaded..

  3. Shane777
    Posted 5 years ago #

    Thanks for the response.

    Is there any sample code that i can try to manipulate to fit my needs? Because i wouldn't know where to begin, but ill google that DONOTCACHEPAGE that you metioned and see.

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