3 ms·
Not defending NextJS, I'm pretty out on it myself, but ISG requires a server to run. It pregenerates static content for defined pages and serves that until reva
by eropple 2y ago
Not defending NextJS, I'm pretty out on it myself, but ISG requires a server to run. It pregenerates static content for defined pages and serves that until revalidating. If you've built a fully static bundle, nothing exists that would handle that incremental/revalidating logic.
- paradite 2y agoI understand that ISG requires a server (Node.js runtime) to run it, that's why I want to disable it for my SSG Next.js static site, but I can't figure out how. I just want static hosting like S3+Cloudfront which is much faster.
- theturtletalks 2y agoYou need to use static export: https://nextjs.org/docs/app/building-your-application/deploying/static-exports https://nextjs.org/docs/app/building-your-application/deploy...
- paradite 2y agoCool, so that's what I was missing all along! Unfortunately looks like I can't use it now since I am using `next-plausible` which does require a Node.js proxy...
- deleted 2y ago[deleted]