dokufreaks/plugin-blog

Cache of archive page not correctly invalidated

Opened this issue · 0 comments

The cache of the archive page is only invalidated when pages are included for which the user does not have read permissions to a listed page. A forum post suggests that this is an issue with drafts that are only included when the user has create permissions. The cache is also not invalidated if new pages could be shown due to increased permissions of the current user (compared to the user for which the cache has been created). The most sensible solution is probably to just disable the cache of the output and - if performance is an issue - instead either cache the listing of the pages and the associated data or use some form of index (possibly in the form of a database).