vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
6 lines (5 loc) • 333 B
TypeScript
export { getCacheControl };
import type { PageConfigRuntime } from '../../../../types/PageConfig.js';
import type { HttpResponse } from '../createHttpResponse.js';
type StatusCode = HttpResponse['statusCode'];
declare function getCacheControl(pageId: string | null, pageConfigs: PageConfigRuntime[], statusCode: StatusCode): string;