Skip to content

Commit

Permalink
docs: improve caching
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Jan 27, 2025
1 parent d8a75e3 commit 3247b54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/website/docs/guide/11-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ async function fetchData() {
}
```
:::tip
The `'use cache'` directive will only work if you are using the commandkit cli to run your bot. Any function decorated with `'use cache'` will be automatically cached.
:::
### Using the cache manually
```js
Expand Down

0 comments on commit 3247b54

Please sign in to comment.