longer cache

This commit is contained in:
KingKDot
2026-04-19 00:34:52 -05:00
parent 4cba196a12
commit ab755a690f
@@ -20,8 +20,8 @@ function acceptsGzip(req: Request): boolean {
return (req.headers.get("accept-encoding") ?? "").includes("gzip");
}
const STATIC_ASSET_CACHE = "public, max-age=3600, stale-while-revalidate=86400";
const MUTABLE_ASSET_CACHE = "public, max-age=60, stale-while-revalidate=300";
const STATIC_ASSET_CACHE = "public, max-age=86400, stale-while-revalidate=604800";
const MUTABLE_ASSET_CACHE = "public, max-age=3600, stale-while-revalidate=86400";
const NO_CACHE = "no-cache";
function assetCacheControl(relativePath: string): string {