(no title)
quicksnap | 4 years ago
- 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!
tomglynch|4 years ago
noahtallen|4 years ago
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.