Paginated comment pages aren't cleared/purged
-
Thanks for the plugin. I noticed that post comment pagination pages aren’t cleared during the typical necessary routines. For instance, let’s say there was the following blog post
https://example.com/hello/
and a comment is added, edited, approved, disapproved. Lite Cache will properly clear the first page, but it won’t clear any of the following:https://example.com/hello/comment-page-1/ https://example.com/hello/comment-page-2/ https://example.com/hello/comment-page-3/ etc
Since you’re using a directory structure for caching, wouldn’t it make sense to simply delete the single blog post folder (e.g., hello), which will cascade and delete any paginated items? Like a recursive delete?
Otherwise, with the cache’s existing logic, it doesn’t look like comment pagination caches would be deleted under any circumstance, short of scheduled garbage collection.
Thanks.
- The topic ‘Paginated comment pages aren't cleared/purged’ is closed to new replies.