Skip to main content

cache

The cache directive controls whether and how task executions are cached.

Usage​

By default, cached task executions are reused when the pipeline is launched with the resume option. Use the cache directive to disable caching for a specific process:

process hello {
cache false

// ...
}

See Cache and resume for more information.

Options​

The following values are available:

false​

Disable caching.

true (default)​

Enable caching. Input file metadata (name, size, last updated timestamp) is included in the cache keys.

'deep'​

Enable caching. Input file content is included in the cache keys.

'lenient'​

Enable caching. Minimal input file metadata (name and size only) is included in the cache keys.

This strategy provides a workaround for incorrect caching invalidation observed on shared file systems due to inconsistent file timestamps.

On this Page