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

Issue #1: Avoid state system and database dependence. #2

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

quicksketch
Copy link
Member

Fixes #1 by using memcache itself to store the flush/garbage collection/wildcard clear timestamps. To prevent any of this critical data from being cleaned up by memcache's LRU (least recently used) algorithm, I consolidated all the bin-specific settings into an array and stored it in the "bootstrap" bin. This should make it so that the flush/gc state for all bins is retrieved every request, so it is unlikely they will be removed.

This also cleans up the terminology to line up with the newer cache system in Backdrop core, preferring "garbage collection" to "temporary flush".

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.

Theme registry fails to rebuild on cache clear
1 participant