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

Use site/vfs prefix for 404 parent response caching #50

Open
themightychris opened this issue Nov 8, 2017 · 0 comments
Open

Use site/vfs prefix for 404 parent response caching #50

themightychris opened this issue Nov 8, 2017 · 0 comments

Comments

@themightychris
Copy link
Member

Caching 404 from parent sites currently uses a global cache key namespace to gain some efficiency from multiple sites on the same server sharing the status. This however puts the cache key outside the scope of tools for clearing the VFS or application cache for a site, requiring a full PHP restart to clear it.

Prefix the cache key the same way that file/collection caches are keyed, so that the "repair filesystem" task's clear cache action will clear out 404 caches too

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

No branches or pull requests

1 participant