Skip to content

Commit

Permalink
Add duration: "*" to cache assets plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Feb 16, 2022
1 parent 9409d6f commit c3fd39c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/plugins/cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = async function() {

#### Change the Cache Duration

After this amount of time has passed, we’ll make a new network request to the URL to fetch fresh data. The `duration` option currently supports the following shorthand values:
After this amount of time has passed, we’ll make a new network request to the URL to fetch fresh data. Use `duration: "*"` to never fetch new data. The `duration` option also currently supports the following shorthand values:

* `s` is seconds (e.g. `duration: "43s"`)
* `m` is minutes (e.g. `duration: "2m"`)
Expand Down

0 comments on commit c3fd39c

Please sign in to comment.