Re:Next.js 9.4 – Fast Refresh, Incremental Static Regeneration
by Scarbutt on Monday May 11, 2020 @02:35PM
(#23145427)
That page is fast but it's all static content, data changing at request time it's a whole other ballpark and the hard case, or what I'm missing?
[ Parent
| on HN ]
Re:Next.js 9.4 – Fast Refresh, Incremental Static Regeneration
by leeoniya on Monday May 11, 2020 @02:37PM
(#23145456)
nothing there is static or cached. each request pulls products from the db and everything is regenerated in real-time. it looks static, but it is not.
if you add to the cart and reload the page, it pulls the live cart from the db.