WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Can I set just the Home Page to be cached?

[Plugin: WP Super Cache] Can I set just the Home Page to be cached?

  • Shane777

    @shane777

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Donncha O Caoimh

    @donncha

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

    Shane777

    @shane777

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Super Cache] Can I set just the Home Page to be cached?’ is closed to new replies.
Skip to toolbar