Thread Starter
keith
(@wkeithgardner)
I was able to use the new regexp to not cache all the pages where new posts are shown, which includes the home page and a couple of sub-directories, so I disabled to clear the complete cache when a new post is published.
I noticed that the entire cache is cleared when a post is updated. It doesn’t clear the cache when a new post is made. It would be nice if just the cached post was cleared when it is updated, not the entire cache.
Thread Starter
keith
(@wkeithgardner)
It would be nice to do the opposite, where only pages matching the regex expression are cleared on a new post or post update (along with clearing the post on update) and other named pages (such as a form with captcha) are never cached. it would be nice for the home page and 500 categories to be cached where new posts are displayed, but cleared when a post new post is added or updated (and clearing the updated post), without clearing the other possible 6,000+ posts and other static pages. this is happening everyday about 20 times and posts being updated to be marked as a headline article.
Hello
that’s some very good input we’ll make sure to put on our todo-list for an upcoming release.
Many thanks!
Thread Starter
keith
(@wkeithgardner)
thank you. if only sucuri was as responsive relative to have much they charge.
for clarification…
1. new post published: regex for pages to clear on new post published.
2. post updated: regex for pages to clear on post updated plus clear the post being updated.
Hello again,
as for the post update issue:
I noticed that the entire cache is cleared when a post is updated. It doesn’t clear the cache when a new post is made. It would be nice if just the cached post was cleared when it is updated, not the entire cache.
Are you aware of the “Clear Cache” setting just above the “Update” button when editing a post? You can set this to “Page Specific” instead of the default “Completely” and it should remember that setting permanently for your user.
Could you give that a try and let us know whether that works for you or not?
Thread Starter
keith
(@wkeithgardner)
i didn’t think of it until you mentioned it. that is probably good for most users. i would need to update 6,000 articles with a database query and add a hook to make that selection the default with the different interfaces built for him to add and update posts. it would be a good temporary solution.