Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/next/dist/server/lib/cache-control.d.ts
generated
vendored
Normal file
13
node_modules/next/dist/server/lib/cache-control.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* The revalidate option used internally for pages. A value of `false` means
|
||||
* that the page should not be revalidated. A number means that the page
|
||||
* should be revalidated after the given number of seconds (this also includes
|
||||
* `1` which means to revalidate after 1 second). A value of `0` is not a valid
|
||||
* value for this option.
|
||||
*/
|
||||
export type Revalidate = number | false;
|
||||
export interface CacheControl {
|
||||
revalidate: Revalidate;
|
||||
expire: number | undefined;
|
||||
}
|
||||
export declare function getCacheControlHeader({ revalidate, expire, }: CacheControl): string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue