From 89307814b3597d688e9db42ff8422e95adc79701 Mon Sep 17 00:00:00 2001 From: Darwin Rinderer Date: Tue, 5 Dec 2023 15:33:44 -0500 Subject: [PATCH] Updating cache-control header --- packages/metadata-service/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metadata-service/src/index.ts b/packages/metadata-service/src/index.ts index bdbb66b42..d999602f3 100644 --- a/packages/metadata-service/src/index.ts +++ b/packages/metadata-service/src/index.ts @@ -419,7 +419,7 @@ server.get<{ Params: { eccCompact: string } }>( const assetJson = generateAssetJson(record, eccCompact); // Needed to make Cloudflare to cache for longer than 1 day - reply.header("Cache-Control", "max-age=31536000"); // 1 year in seconds + reply.header("Cloudflare-CDN-Cache-Control", "max-age=31536000"); // 1 year in seconds return assetJson; }