Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

allow people to turn off cache cleaning #1343

Closed
jeffkaufman opened this issue Jul 7, 2016 · 2 comments
Closed

allow people to turn off cache cleaning #1343

jeffkaufman opened this issue Jul 7, 2016 · 2 comments
Assignees

Comments

@jeffkaufman
Copy link
Contributor

jeffkaufman commented Jul 7, 2016

Right now you can turn off the "delete things" aspect of cache cleaning, but not the "check the whole cache to see what should be cleaned" aspect.

This should probably look like:

ModPagespeedFileCacheCleanIntervalMs -1

@jeffkaufman jeffkaufman self-assigned this Jul 7, 2016
@morlovich
Copy link
Contributor

Note that the interval is an int64, so it should be possible to just put in a sufficiently giant number as a workaround (3000000000000 would likely do --- it's around 95 years).

@jeffkaufman
Copy link
Contributor Author

Yes, a giant number is what I suggested on the thread, but we should support -1 and doc it.

(I should also reread the code and make sure you can turn off all of our "uh oh, something's funny, better clean the cache" checks.)

crowell pushed a commit that referenced this issue Jul 21, 2016
Support 'FileCacheCleanIntervalMs -1' to turn off cache cleaning.

Fixes #1343
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants