• Hi guys, this plugin makes problems with my booking system on website,
    and to solve this I need to exclude some specific pages from being cached.

    Can you please tell me how can I do that?

    Thank you, have a good day.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Under the advanced tab, there is a way to add strings that forces a page not to be cached. However, you can’t add URLs here – a feature I’d like to have as well.

    The default strings are:
    wp-.*\.php
    index\.php

    For example, if your URLs include year and you dont want to cache last year posts, it’s enough to specify the year, i.e. ’/2004/’. WP-Cache will search if that string is part of the URI and if so, it will not cache that page.

    Try adding a string or a unique part of your page’s URL for the specific pages and then view source in your browser to check if the page has been cached. At the very end of your code you can see for example:

    <!– Dynamic page generated in 1.222 seconds. –>
    <!– Cached page generated by WP-Super-Cache on 2016-09-29 15:09:03 –>

    Hello, for woocommerce is it correct to exclude these pages ?

    /cart*
    /my-account*
    /checkout*

    Thanks.

    Sorry, I don’t know how to code that specific for woocommerce!

    • This reply was modified 7 years, 11 months ago by nixiemartyn.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need to exclude specific pages from being cached’ is closed to new replies.