VercelISRConfig Type — astro Architecture
Architecture documentation for the VercelISRConfig type/interface in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 0ffe656a_79fb_973e_6441_2476436e689e["VercelISRConfig"] 9b72c5c7_3349_4acd_8ca1_afe541842abe["index.ts"] 0ffe656a_79fb_973e_6441_2476436e689e -->|defined in| 9b72c5c7_3349_4acd_8ca1_afe541842abe style 0ffe656a_79fb_973e_6441_2476436e689e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/vercel/src/index.ts lines 185–210
interface VercelISRConfig {
/**
* A secret random string that you create.
* Its presence in the `__prerender_bypass` cookie will result in fresh responses being served, bypassing the cache. See Vercel’s documentation on [Draft Mode](https://vercel.com/docs/build-output-api/v3/features#draft-mode) for more information.
* Its presence in the `x-prerender-revalidate` header will result in a fresh response which will then be cached for all future requests to be used. See Vercel’s documentation on [On-Demand Incremental Static Regeneration (ISR)](https://vercel.com/docs/build-output-api/v3/features#on-demand-incremental-static-regeneration-isr) for more information.
*
* @default `undefined`
*/
bypassToken?: string;
/**
* Expiration time (in seconds) before the pages will be re-generated.
*
* Setting to `false` means that the page will stay cached as long as the current deployment is in production.
*
* @default `false`
*/
expiration?: number | false;
/**
* Paths that will always be served by a serverless function instead of an ISR function.
*
* @default `[]`
*/
exclude?: (string | RegExp)[];
}
Defined In
Source
Frequently Asked Questions
What is the VercelISRConfig type?
VercelISRConfig is a type/interface in the astro codebase, defined in packages/integrations/vercel/src/index.ts.
Where is VercelISRConfig defined?
VercelISRConfig is defined in packages/integrations/vercel/src/index.ts at line 185.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free