Repository navigation
fix(vercel): prevent caching missing public assets (nitrojs/nitro#4474) - #42
Conversation
Co-authored-by: Ryan Conceicao <ryoid@users.noreply.github.com>
|
@danielroe is attempting to deploy a commit to the Nitro Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
🔗 Linked issue
❓ Type of change
📚 Description
this comes out of some cost-optimisation work on npmx, which serves a few hundred build-time JSON files from a non-fallthrough
publicAssetsbase on Vercel.a request under that base for a file that doesn't exist isn't stopped at the CDN
this is an issue already fixed in nitro v3 in nitrojs/nitro#4474, so this backports some of that PR to v2.
I've left out the
maxAgepart, as that would change public types.📝 Checklist