You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/api/loaders.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ A data object shared between the pitch and the normal phase.
125
125
cacheable(flag=true: boolean)
126
126
```
127
127
128
-
Make this loader result cacheable. By default it's not cacheable.
128
+
By default, loader results are cacheable. Call this method passing `false` to make the loader's result not cacheable.
129
129
130
130
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.
0 commit comments