We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd68dd commit 28217d4Copy full SHA for 28217d4
src/run/headers.ts
@@ -279,6 +279,7 @@ export const setCacheControlHeaders = (
279
280
if (
281
cacheControl === null &&
282
+ ['GET', 'HEAD'].includes(request.method) &&
283
!headers.has('cdn-cache-control') &&
284
!headers.has('netlify-cdn-cache-control') &&
285
requestContext.usedFsReadForNonFallback
0 commit comments