However, on my vercel production, the links prefecthing return 404 errors in the browser’s tab : 952354cdb505a279.js:1 GET [https://]adrien-bailliard-com.vercel.app/newsletter/?_rsc=1r34m 404 (Not Found).
This is very strange. I’m wondering if Vercel has removed this functionality for free plan users.
Thank you for your help! I’ve been looking for an answer for a couple of days
I see that there’s a 404 on the live website you shared. But, I can assure you Vercel would never disable Next.js features based on user plans.
Please share your public repo or a minimal reproducible example. That will let us all work together from the same code to figure out what’s going wrong.
Hi @adrienbailliard78-67, so this fix may take some time (early next week) to be fully rolled out. However, only the prefetching is affected and pages load as usual, so this shouldn’t cause any downtime or failures.
I’m working with the team and will keep posting here when I’ve more updates. In the meantime, you can use trailingSlash: false to resolve this. I know this isn’t ideal but this being an eventful week (Black Friday), things take longer.
Hi @adrienbailliard78-67, we released a new version of the Vercel CLI when this patch came out.
Because this will roll out next week, you can manually opt into it by setting VERCEL_CLI_VERSION=vercel@48.10.13 in your Vercel project’s environment variables.