You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - I have my posts organised around categories. QC Pro 131224 continues to serve category pages from cache even if I delete a post so users see dead links on the category page until it expires. I get a notification on Admin page that QC has detected changes when I add/delete/edit a post but the category pages are not being refreshed. Any advice?
I have set a short expiry as workaround but not ideal.
URL is nhap.org
The text was updated successfully, but these errors were encountered:
@bamforp The way cache files are currently created, it's not trivial to find and clear only the cache files for category and tag pages. However, it certainly makes sense to me that deleting or saving a post would clear the category and tag pages, so I plan to work on this as part of the branched cache structure feature (#3), which will require modifying how cache files are stored and will be a good opportunity to make sure that category and tag page cache file can easily be cleared.
For now, I recommend the following:
Quick Cache Pro
You can use the URI Exclusion Patterns feature to exclude category and tag pages by adding the following to Dashboard → Quick Cache Pro → URI Exclusion Patterns:
/category/
/tag/
Quick Cache Lite
To prevent your Category and Tag pages from being cached, add the following to the top of your theme's category and tag templates (likely tag.php and category.php):
define('DONOTCACHEPAGE', TRUE);
You'll want to make sure this goes right after the first opening <?php tag that you find in those files, e.g., <?php define('DONOTCACHEPAGE', TRUE);)
Hi - I have my posts organised around categories. QC Pro 131224 continues to serve category pages from cache even if I delete a post so users see dead links on the category page until it expires. I get a notification on Admin page that QC has detected changes when I add/delete/edit a post but the category pages are not being refreshed. Any advice?
I have set a short expiry as workaround but not ideal.
URL is nhap.org
The text was updated successfully, but these errors were encountered: