If you need to exclude specific pages from being cached while using W3 Total Cache you simply add/register the pages.
- goto Performance > Page Cache
- scroll to Advanced > Never cache the following pages
You then add the entries as so:
It also supports regular expressions:
That’s all you really need to do to skip caching and exclude individual pages from cache if you’re using W3 Total Cache.
7 Responses to “How to Exclude Specific Pages from W3 Total Cache”
Thanks for your help, but i wonder how is posible to :
Don’t cache the general /page/
But I want to cache the subpages like for example
Is it Posible?
I’m really struggling to find consensus on the correct syntax for entering pages into the ‘do not cache’ section. I have found many different posts that all lay the page and directory names out differently.
should it be
i’m trying to exclude a couple of pages but also all of my products and product categories and it’s just not working for me. It seems each time i enter the above, the category then becomes inaccessible. I’m using woocommerce and the basic shop, account and cart pages are taken care of by the plugin, but i need to specify the above as i have a currency widget that works on location.
Any help much appreciated.
I want to Disable CDN on the single folder. eg:- wp-content/uploads/gravity_forms/* . How can i add this ? could you please help me to do this,
Thanks a ton m8! I was tired of trying various settings and was still not able to figure out how to disable cache for my random funny puns and jokes generator page. I could not find this information in W3 Total Cache’s FAQ also (or maybe I missed it). In any case, this article really helped me out. I love you for this. 😀
Does this only work on a page or could I add a post to this list to stop it from getting cache?
The asterisk did it for me
How i can set never cache front page?