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

Invalidate Static Cache when GlobalSet or Navigation is saved #2639

Closed
wants to merge 1 commit into from
Closed

Invalidate Static Cache when GlobalSet or Navigation is saved #2639

wants to merge 1 commit into from

Conversation

duncanmcclean
Copy link
Member

This pull request will implement the rest of #2393. It will invalidate the static cache whenever a Global Set or a Navigation is saved or deleted.

I had to move the item url check into the individual if statements for entries and terms as Globals and Nav's don't have the url() method and the check would fail.

Closes #2393.

@robdekort
Copy link
Contributor

Could this PR be prioritised? It's pretty critical on production.

jasonvarga added a commit that referenced this pull request Oct 30, 2020
Clean up tests by using regular mocks, not spies, and do a little tidying.

Closes #2639
Closes #2393

Co-authored-by: Duncan McClean <duncan@mcclean.co.uk>
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

Successfully merging this pull request may close these issues.

Static Cache not invalidated when entry or term deleted, or global updates
2 participants