You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug?]: File change breaks Prod if no hard refresh聽#1047
Hmm.. a client side navigation has no way of knowing it is out of date, except from the response.. and we fetch JS in parallel. Unless they have setup some background pinging of versioning I don't see how Next could ever know this. My understanding was that Vercel keeps previous deploys around. Its also possible I suppose that that fetch data before JS and in that case they could know, of course that would be very inefficient.
In any case this is an idea and if anyone has ideas on how to implement it we can consider making a request.
Activity
[-][Bug?]: [/-][+][Bug?]: File change breaks Prod if no hard refresh[/+]MariuzM commentedon Sep 4, 2023
Ive tested with Next.js it looks like its doing hard page refresh before continue fetching new components
ryansolid commentedon Dec 19, 2023
Hmm.. a client side navigation has no way of knowing it is out of date, except from the response.. and we fetch JS in parallel. Unless they have setup some background pinging of versioning I don't see how Next could ever know this. My understanding was that Vercel keeps previous deploys around. Its also possible I suppose that that fetch data before JS and in that case they could know, of course that would be very inefficient.
In any case this is an idea and if anyone has ideas on how to implement it we can consider making a request.