I am building a nuxt app and deploying it onto vercel. I noticed that the default project contains default routes config for .nuxt/*
in vercel/packages/frameworks/src/frameworks.ts at main · vercel/vercel · GitHub, 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 nitro/src/core/config/resolvers/assets.ts at 7dc8ae55881e24dfd76f222eba0488b97b539f6d · nitrojs/nitro · GitHub
Let me know if I miss something to remove the cache-control header added by vercel?