(edited)
I am building a nuxt app and deploying it onto vercel. I noticed that the default project contains default routes config for .nuxt/* in https://github.com/vercel/vercel/blob/main/packages/frameworks/src/frameworks.ts#L1520-L1522, which seems not possible to be overwritten.
There are two reasons I don't want this default behavior:
- 404 request are also cached
- nuxtjs already handles cache in https://github.com/unjs/nitro/blob/7dc8ae55881e24dfd76f222eba0488b97b539f6d/src/core/config/resolvers/assets.ts#L50
Let me know if I miss something to remove the cache-control header added by vercel?