Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Next.js makes many tiny serverless requests for all visible links (github.com/vercel)
2 points by barishnamazov 23 days ago | hide | past | favorite | 1 comment


And that's without a way to disable this without using a custom Link component. I noticed that with only 2 users (testing stage), my website had ~3-4k daily requests. After a bit of digging, I found out that every visible link on the webpage did two tiny server requests (totaling <5kb) -- one for metadata, and one for some javascript -- and it only happens on production, not locally.

This probably makes a lot of money for Vercel and Cloudflare.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: