Caching allows workflow developers to reuse the results of previously run tasks to prevent wasted time and computation. This is helpful when running large batches of workflows with redundant inputs or when debugging errors in the middle of a workflow where upstream state can be reused.
cache_version
keyword argument to version your
cache giving you greater control. Tasks caches with explicit versions will get
invalidated if and only if the version changes. This is ideal if you wish to
preserve the cache despite the function body changing or to manually invalidate
the cache despite the function body remaining the same.