- Next.js makes it dead-easy to statically generate your pages using various strategies. And static pages take few resources to serve. [0]
- It also gives you lots of info on bundle sizes, performance, and provides you with the tools to manage these.
- Vercel is optimised to serve these static pages on their CDN. [1] And your project quite literally a single terminal command away from being live.
- Both are very easy to get started with and a joy to use.
- I am in no way affiliated with Vercel. I just like their products.
- Next.js aims for "pit of success" in building sites with React that are optimized for CDNs and small builds
- Deploying said sites to Vercel takes advantage of the CDNs, so most of the users are getting cached data.
So, for this site, I would assume:
- There is no backend - All the HTML is cached and contains a static generation of the page(s)
- The javascript is also cached
- Vercel CDN is fast.
That's it!
So there are a lot more servers much closer to people using your site. Pushing a new copy from “you” to each edge server is pretty straightforward. I imagine Vercel does it pretty quickly, but sometimes the edge server could poll for changes maybe once a minute, which is pretty cheap to do.