Skip to content

Commit ca7ca4e

Browse files
committed
chore: remove wip check for cached api calls
1 parent 298bd8b commit ca7ca4e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/run/headers.ts

-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ export const setCacheControlHeaders = (
266266
['GET', 'HEAD'].includes(request.method) &&
267267
!headers.has('cdn-cache-control') &&
268268
!headers.has('netlify-cdn-cache-control') &&
269-
!new URL(request.url).pathname.startsWith('/api/') &&
270269
requestContext.usedFsReadForNonFallback
271270
) {
272271
// handle CDN Cache Control on static files

0 commit comments

Comments
 (0)