Skip to main content

Type Alias: CacheStrategy

CacheStrategy = "content" | "metadata"

Defined in: cspell-types/dist/index.d.mts:1109

The Strategy to use to detect if a file has changed.

  • content - uses a hash of the file content to check file changes (slower - more accurate).
  • metadata - uses the file system timestamp and size to detect changes (fastest, may not work in CI).

Default

'content'