Next.js Discord

Discord Forum

_prerender_bypass Cookie in Next.js / Vercel

Unanswered
Siamese Crocodile posted this in #help-forum
Open in Discord
Siamese CrocodileOP
Hello, I am having a hard time to understand why NextJS assigns a cookie called _prerender_bypass to avoid prerendering. I use fetch-level revalidation in my project.

I have recorded a video explaining the issue — please check it out.
NOTE: My video recorder freezes sometimes and that's why you can't see how long it takes to load the page. It takes 2-3 seconds to load a page because of this cookie.

What is the purpose of this cookie? How we can disable that?

I think it is a NextJS or Vercel Hosting Bug.

NextJS version: 15.3.0
React version: 19.1.0

To recreate the issue, you need to deploy your website again to Vercel and keep visiting it daily. After 4 to 5 days, you will notice that the page does not load properly, and it seems to be caused by this cookie.

If anyone has more information about this or knows how to fix it, I would appreciate your help.

3 Replies

Siamese CrocodileOP
Siamese CrocodileOP
Any information?
Siamese CrocodileOP
?