|
Cron
IntroductionCirruxCache uses a garbage collecting cron task to flush expired entries. DetailsWhen CirruxCache make a request through the a Cache PoP, the fetched object is stored with a TTL. Once the TTL is reached, if the object is fetched again, its meta information are refreshed, with its content if needed. But a lot of objects remain on the Datastore without being refreshed. For instance, if the resource is removed from the origin. That's why a garbage collector needs to be called from a cron task. Keep in mind that the delay of the garbage collector iteration influences your resource quota usage. For instance, I use a refresh delay of:
To change the garbage collector delay, edit the file "cron.yaml" and change the "schedule" property. |
► Sign in to add a comment