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
WordPress' Discussion settings has the following option: Break comments into pages with [#] top level comments per page and the [last|first] page displayed by default
When this is activated and blog post comments are split across pages, Quick Cache does not purge anything beyond page 1. This is problematic because if a new comment is posted or old comment is deleted, all the comments across pages must shift one spot backward or forwards. As it stands, this only occurs on page 1.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm trying to see if this could be resolved by hooking into the 'ac-plugins' architecture, but I'm not sure if I'm on the right path. Could you provide a bit more detail about how to use the 'ac-plugins' architecture?
For instance, let's say I wanted to add my own ac-plugin action that'll be activated during a WordPress 'edit_comment' action? How would I hook into that and retrieve certain properties such as the page ID?
@bridgeport I've confirmed this unexpected behavior. With the current way that cache files are generated and stored on disk, fixing this issue isn't going to be quite as straightforward as I'd hoped. Creating an ac-plugin to clear the paginated comment page cache files is also not straightforward, as we run into the same issue with the way the cache files are currently being generated.
However, since I'm currently working on implementing a new cache structure, I'll simply wait until that's done, as that will resolve this issue.
Temporary workaround
In the meantime, I recommend excluding paginated comment pages using the URI Exclusion Patterns feature (Dashboard → Quick Cache → Plugin Options → URI Exclusion Patterns).
To exclude all paginated comment pages, you can add the following to the URI Exclusion Patterns:
*/comment-page-*/
The above exclusion pattern will exclude all paginated comment pages on all posts from being cached.
WordPress' Discussion settings has the following option:
Break comments into pages with [#] top level comments per page and the [last|first] page displayed by default
When this is activated and blog post comments are split across pages, Quick Cache does not purge anything beyond page 1. This is problematic because if a new comment is posted or old comment is deleted, all the comments across pages must shift one spot backward or forwards. As it stands, this only occurs on page 1.
Thanks.
The text was updated successfully, but these errors were encountered: