Download frontend/node_modules/next/dist/server/lib/cache-control.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 572 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/cache-control.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/server/lib/cache-control.d.ts
-
curl -L -o cache-control.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/cache-control.d.ts
572 Bytes
| /** | |
| * 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; | |