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: packages/cache/README.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,7 @@ To use the `@commandkit/cache` plugin, you need to add it to your CommandKit app
16
16
import { cache } from'@commandkit/cache';
17
17
18
18
exportdefaultdefineConfig({
19
-
plugins: [
20
-
cache(),
21
-
],
19
+
plugins: [cache()],
22
20
})
23
21
```
24
22
@@ -50,14 +48,10 @@ async function fetchDogs() {
50
48
Now the `fetchDogs` function will be cached for 1 hour. You can perform on-demand cache invalidation or revalidation using the `invalidate` and `revalidate` methods:
0 commit comments