Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache of archive page not correctly invalidated #106

Open
michitux opened this issue Jan 12, 2021 · 0 comments
Open

Cache of archive page not correctly invalidated #106

michitux opened this issue Jan 12, 2021 · 0 comments
Labels

Comments

@michitux
Copy link
Member

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant