3 ms·
This is terribly overengineered. He just needs a static CDN host– such as Surge.sh, Netlify, AWS CloudFront, or Cloudflare. Everything can be calculated clients
by crazypython 6y ago
This is terribly overengineered. He just needs a static CDN host– such as Surge.sh, Netlify, AWS CloudFront, or Cloudflare. Everything can be calculated clientside.
> It’s worth pointing out that for all the criticism, the Next.js + Vercel combination meant that I didn’t have to worry about scaling the site at any point. There were millions of hits, and sometimes thousands per second, and it all just worked. The basic page continued to load in less than half a second under all that load.
Static sites have that too.
- jackdh 6y agoS3 + Cloudfront would have worked like a charm.
- migueloller 6y agoIt was a static site. That's what Vercel and Next.js does by default. If you don't use `getServerSideProps`, Next.js will generate static pages at build time and Vercel will serve them from their CDN.
- tomjohnneill 6y agoThe point is that NextJS does create a static site. And Vercel can be just a static CDN, as it was for this.