Cache
For incremental processing of tasks, leakrfc
uses a global cache to track task results. If a computed cache key for a specific task (e.g. sync a file, extract an archive) is already found in cache, running the task again will be skipped. This is implemented very granular and applies to all kinds of operations, such as crawl, make and the adapters (currently aleph)
leakrfc
is using anystore for the cache implementation, so any supported backend is possible. Recommended backends are redis or sql, but a distributed cloud-backend (such as a shared s3 bucket) can make sense, too.
As long as caching is enabled (globally via CACHE=1
, the default), all operations will look in the global cache if a task has already been processed. When disabling cache (CACHE=0
) for a run, the cache is not respected but still populated for next runs.
Per default, an in-memory cache is used, which doesn't persist.
Configure
Via environment var: