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

Allow object caches to auto-clean unused keys. #1004

Open
Zoramite opened this issue Sep 5, 2019 · 0 comments
Open

Allow object caches to auto-clean unused keys. #1004

Zoramite opened this issue Sep 5, 2019 · 0 comments
Assignees
Milestone

Comments

@Zoramite
Copy link
Member

Zoramite commented Sep 5, 2019

Currently when using object caches (in core or extensions) that write to a file the process of removing old cache keys is manual. This makes it easy for the object cache to bloat over time.

One idea to correct this is to allow the object cache to be flagged for auto-cleanup. Then, whenever a full build is completed (not partial builds) any unused keys in an object cache can be removed before the cache file is written.

@Zoramite Zoramite added this to the Bucket List milestone Sep 5, 2019
@Zoramite Zoramite self-assigned this Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant