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
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
-
with multi-package repos, or single-package repos to help you version and publish your code. You can
5
-
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
3
+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6
4
7
-
We have a quick list of common questions to get you started engaging with this project in
We have a quick list of common questions to get you started engaging with this project in [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
Sets stale-while-revalidate directive for the CDN cache. By default the browser is sent a must-revalidate
226
-
directive to ensure that the browser always revalidates the cache with the server.
223
+
Sets stale-while-revalidate directive for the CDN cache. By default the browser is sent a must-revalidate directive to ensure that the browser always revalidates the cache with the server.
227
224
228
225
| Method | Type |
229
226
| ------ | -------------------------- |
@@ -235,10 +232,7 @@ Parameters:
235
232
236
233
#### :gear: immutable
237
234
238
-
Sets cache headers for content that should be cached for a long time and never revalidated.
239
-
The CDN cache will cache the content for the specified time, and the browser will cache the content
240
-
indefinitely without revalidating. Do not use this unless the URL is fingerprinted or otherwise unique.
241
-
Otherwise, the browser will cache the content indefinitely and never check for updates, including for new deploys.
235
+
Sets cache headers for content that should be cached for a long time and never revalidated. The CDN cache will cache the content for the specified time, and the browser will cache the content indefinitely without revalidating. Do not use this unless the URL is fingerprinted or otherwise unique. Otherwise, the browser will cache the content indefinitely and never check for updates, including for new deploys.
242
236
243
237
| Method | Type |
244
238
| ----------- | -------------------------- |
@@ -250,9 +244,7 @@ Parameters:
250
244
251
245
#### :gear: ttl
252
246
253
-
Sets the s-maxage for items in the CDN cache. This is the maximum amount of time that the CDN will cache the content.
254
-
If used with swr, the content will revalidate in the background after the max age has passed. Otherwise, the content will be
255
-
removed from the cache after the max age has passed.
247
+
Sets the s-maxage for items in the CDN cache. This is the maximum amount of time that the CDN will cache the content. If used with swr, the content will revalidate in the background after the max age has passed. Otherwise, the content will be removed from the cache after the max age has passed.
0 commit comments