3 ms·
Next.js can do ISR (incremental static regeneration), which essentially gives you the same result as a CDN in front of SSR. Having said that, in most cases you
by steve_taylor 4y ago
Next.js can do ISR (incremental static regeneration), which essentially gives you the same result as a CDN in front of SSR. Having said that, in most cases you should use a CDN.
- dbbk 4y agoEh, in that case you're still sending all requests to one Node server. I think it'd still be preferable to have a CDN so that it can be served from the edge. Also, you can achieve this behaviour on CDNs from a full SSR response with just using stale-while-revalidate in the Cache-Control header.