Skip to content

Switch to using Statamic's full/half caching#1

Merged
anditopping merged 8 commits intomainfrom
feature/switch-to-half-caching
Jan 17, 2024
Merged

Switch to using Statamic's full/half caching#1
anditopping merged 8 commits intomainfrom
feature/switch-to-half-caching

Conversation

@ryanmitchell
Copy link
Copy Markdown
Contributor

One for review - dont merge it until its tested properly.

This would switch us to using Statamic's half cache strategy, which is similar to what our cache was doing. The EntryListener stuff goes into a new app\Cache\CacheInvalidator file and we use our own invalidator to set the logic of when to clear the cache.

We just now need to also clear cache when things in the layout are cleared, such as navs. But it shouldnt be a hugely big deal.

@ryanmitchell ryanmitchell changed the title Switch to using Statamic's half caching Switch to using Statamic's full/half caching Jan 12, 2024
@anditopping anditopping merged commit 1356f00 into main Jan 17, 2024
@anditopping anditopping deleted the feature/switch-to-half-caching branch January 17, 2024 15:20
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.

2 participants