Skip to content

Interface: FileSystemCacheOptions

Options for cache.

optional filter?: (operation, path) => boolean

Optional operation/path filter evaluated after path normalization. Return true to cache the read and false to delegate directly to the source.

CacheableFileSystemOperation

string

boolean


optional namespace?: string

Additional namespace included in every generated cache key.


optional operations?: readonly CacheableFileSystemOperation[]

Read operations routed through the cache. Defaults to exists, readdir, and stat.