Hello @j3th
Thank you for your inquiry and I am happy to assist you with this.
Have you tried purging all cache and see if the issue persists?
Thanks!
Sorry I meant comment publication.
If I purge post cache manually it works and cache is being reloaded properly.
After publishing new comment without purging manualy cache, only /post has correct cache date, post/comment-page-1 etc. are outdated
Hello @j3th
Thank you for the information.
Can you please try adding those pages in Performance>Page Cache>Purge Policy>Additional pages: and specify additional pages to purge. Including parent page in path. Ex: parent/posts.
Thanks!
These are normal blog posts with paginated comments.
Is there any regular expression I can paste there to force purging? Do you have any sample syntax? I mean something like this:
[all posts]/comment-page-[every pagination number]
so this would purge after comment publish such links as /sample-post/comment-page-1 and also for e.g. /sample-post-1/comment-page-33 etc.
Hello @j3th
No there is no such an option. Are you using any plugin for the comment section?
What are the settings that you have enabled in Performance>Page Cache>Purge Policy?
Thanks!
No I’m not using any custom plugin. We just added comment pagination with paginate_comments_links() function. My settings in Purge Policy are as following:
View post on imgur.com
Hello @j3th
I’ve tried to replicate the issue but with no success.
In my use case when the comment is updated and all cache is cleared.
I can suggest that you try to use Page Fragment Caching. This allows you to wrap the PHP code with mfunc and create the Page Fragment Cache exception.
Or you can try setting up a corn job on your server an call w3tc_flush_all();
Thanks!