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
@@ -111,7 +111,7 @@ then `', max-age=<value>'` will be appended to the `cache-control` header.
111
111
protocol compliant cache object. Note: the plugin requires a cache instance to
112
112
properly support the ETag mechanism. Therefore, if a falsy value is supplied
113
113
the default will be used.
114
-
+`cacheSegment` (Default: `'fastify-caching'`): segment identifier to use when
114
+
+`cacheSegment` (Default: `'@fastify/caching'`): segment identifier to use when
115
115
communicating with the cache.
116
116
+`serverExpiresIn` (Default: `undefined`): a value, in seconds, for the length of time the resource is fresh and may be held in a shared cache (e.g. a CDN). Shared caches will ignore max-age when this is specified, though browsers will continue to use max-age. Should be used with expiresIn, not in place of it. When this is set, and `privacy` is set to `public`, then `', s-maxage=<value>'` will be appended to the `cache-control` header.
0 commit comments