Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
manifest.deploymentId (#3792)manifest.deploymentId
|
What would be benefit of this backport without agnostic skew detection support in v2? I think would probably be more valuable if we add this flag to std-env (tracker: unjs/std-env#59) |
|
I would hope to also merge skew protection back into the vercel preset. (and likewise for netlify!) |
(as we discussed) Skew-protection will be a vendor+framework, specific feature if we backport to v2 (similar to ISR route rule) since Nitro v2 cannot have client-side logic. If Nuxt does not migrate soon to Nitro v3, we need to find a temporary solution for Nuxt specifically to support skew protection (in 2 vendors) Even if we want to backport a feature for Vercel/Netlify unblocking Nuxt v4, I think we can directly use the deployment ID hardcoded in them. As for this PR, i appreciate if you have time to help porting it to std-env. It has no use for Nitro v2. |
|
having investigated, I am not sure that I also agree (for this reason) that hard-coding the environment variables is a better solution for skew protection within nitro (as it's very specific to individual providers at the moment). I would really like to see a generic solution but haven't yet figured out how to do it, with the primitives we have available in nitro. |
|
For the Nitro (v3) roadmap, a generic |
|
what do you mean that these features won't benefit nuxt? |
|
client implementation. |
🔗 Linked issue
backport of #3792
❓ Type of change
📚 Description
this backports #3792
📝 Checklist