How to prevent caching for a specific category?
-
I have just added a couple of URL’s into the section “Prevent the following URIs to be cached:
/poll*
/category/polls*Ideally I would like all posts in the category “polls” to be prevented from caching. If this is not possible then the other option is for all posts with /poll* in the URL to be prevented from caching. My questions are as follows:
1) Exclude Category from caching – Is there a way to exclude all posts in a category from caching?
2) Clearing cache from excluded posts – Is there a way to clear the cache for excluded posts without doing this manually for each post (there are over 1,000 posts in the category “polls”) and without clearing the whole Cloudflare cache?
Thanks in advance for your help.
- The topic ‘How to prevent caching for a specific category?’ is closed to new replies.