From c3fd39ccf04083f7ecf8a183aa201af84b8da52b Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Wed, 16 Feb 2022 12:38:17 -0600 Subject: [PATCH] Add `duration: "*"` to cache assets plugin --- src/docs/plugins/cache.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/plugins/cache.md b/src/docs/plugins/cache.md index 5144e2939d..2fe2a1101e 100644 --- a/src/docs/plugins/cache.md +++ b/src/docs/plugins/cache.md @@ -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"`)