diff --git a/packages/prerender-proxy/lib/handlers/cache-control.ts b/packages/prerender-proxy/lib/handlers/cache-control.ts index 66236483..79f29d0f 100644 --- a/packages/prerender-proxy/lib/handlers/cache-control.ts +++ b/packages/prerender-proxy/lib/handlers/cache-control.ts @@ -12,7 +12,7 @@ export const handler = async ( const response = event.Records[0].cf.response; if (response.headers[`${cacheKey}`]) { - response.headers["Cache-Control"] = [ + response.headers["cache-control"] = [ { key: "Cache-Control", value: `max-age=${cacheMaxAge}`, diff --git a/packages/prerender-proxy/package.json b/packages/prerender-proxy/package.json index d8101804..8c307538 100644 --- a/packages/prerender-proxy/package.json +++ b/packages/prerender-proxy/package.json @@ -1,6 +1,6 @@ { "name": "@aligent/cdk-prerender-proxy", - "version": "0.1.7", + "version": "1.0.2", "description": "A Cloudfront Lambda@Edge stack for integrating with prerender.io", "main": "index.js", "scripts": {