Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/api/loaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ A data object shared between the pitch and the normal phase.
cacheable(flag = true: boolean)
```

Make this loader result cacheable. By default it's not cacheable.
By default, loader results are cacheable. Call this method passing `false` to make the loader's result not cacheable.

A cacheable loader must have a deterministic result, when inputs and dependencies haven't changed. This means the loader shouldn't have other dependencies than specified with `this.addDependency`. Most loaders are deterministic and cacheable.

Expand Down