Skip to content

Commit c6ce2a2

Browse files
authored
feat(@vercel/blob): Default to 1 month cache control (#847)
1 parent b1b86cb commit c6ce2a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/blob/src/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ export interface CommonCreateBlobOptions extends BlobCommandOptions {
4242
*/
4343
contentType?: string;
4444
/**
45-
* Number in seconds to configure the edge and browser cache. The maximum values are 5 minutes for the edge cache and unlimited for the browser cache.
45+
* Number in seconds to configure the edge and browser cache. The minimum is 1 minute. There's no maximum but keep in mind that browser and edge caches will do a best effort to respect this value.
4646
* Detailed documentation can be found here: https://vercel.com/docs/storage/vercel-blob#caching
47-
* @defaultvalue 365 * 24 * 60 * 60 (1 Year)
47+
* @defaultvalue 30 * 24 * 60 * 60 (1 Month)
4848
*/
4949
cacheControlMaxAge?: number;
5050
}

0 commit comments

Comments
 (0)