News for hackers. Stuff that matters.
Re: I Built My Own Shitty Static Site Generator by bamboleo on Monday November 30, 2020 @02:02AM (#25251361)
Neither case is really static and you still need the server running.

Also for whatever reason even with the right headers I could never force CloudFlare to actually cache everything. I think it will just keep a copy of a visited page in some servers, but not in all, and definitely it won’t cache the whole site at once.

Re: I Built My Own Shitty Static Site Generator by neurostimulant on Monday November 30, 2020 @02:14AM (#25251416)
The next.js method is completely static. You can run your wordpress instance locally in your laptop/pc, run next.js static site generator, then upload the resulting static site to aws or github pages. No need to run the wordpress instance 24/7 as it's only required as a data source during static site generation and can be turned off when you're done with it.

There is also an option in cloudflare to pre-cache everything on their edge servers so visitors will never hit the origin server, but it's not available in free plan (I think it's enterprise only plan).