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

fix: invalidate caches for menu items #272

Merged
merged 3 commits into from Feb 19, 2024
Merged

Conversation

jasonbahl
Copy link
Collaborator

@jasonbahl jasonbahl commented Feb 13, 2024

This adds event listeners for when menu items are created, updated and deleted to purge associated caches in response to said events.

closes #260

- add tests for menu item cache invalidation
- update some tests for post cache invalidation and menu cache invalidation for the new purge events
@jasonbahl jasonbahl self-assigned this Feb 13, 2024
- composer phpstan
@jasonbahl jasonbahl merged commit 10a9581 into main Feb 19, 2024
13 checks passed
@jasonbahl jasonbahl mentioned this pull request Feb 19, 2024
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.

Invalidate cache when menu items are updated
1 participant