We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298bd8b commit ca7ca4eCopy full SHA for ca7ca4e
src/run/headers.ts
@@ -266,7 +266,6 @@ export const setCacheControlHeaders = (
266
['GET', 'HEAD'].includes(request.method) &&
267
!headers.has('cdn-cache-control') &&
268
!headers.has('netlify-cdn-cache-control') &&
269
- !new URL(request.url).pathname.startsWith('/api/') &&
270
requestContext.usedFsReadForNonFallback
271
) {
272
// handle CDN Cache Control on static files
0 commit comments