UNPKG

@astrojs/vercel

Version:
10 lines (9 loc) 363 B
import type { CacheProviderConfig } from 'astro'; /** * Configure the Vercel CDN cache provider for Astro route caching. * * Uses `Vercel-CDN-Cache-Control` and `Vercel-Cache-Tag` headers * for Vercel's edge cache, and `invalidateByTag()` from `@vercel/functions` * for tag-based invalidation. */ export declare function cacheVercel(): CacheProviderConfig;