News for hackers. Stuff that matters.
Re:Show HN: Generate a static website from any back end by hnal943 on Friday May 01, 2020 @12:50PM (#23043997)
...any backend that is a content-heavy website? Or are they somehow also abstracting away the application logic?

How is this different from a CDN cache?

Re:Show HN: Generate a static website from any back end by xwdv on Friday May 01, 2020 @02:15PM (#23044914)
The way it abstracts application logic is by finding out what parts of your site can be immutable functions, then produces all the variations of static content for each possible input.
Re:Show HN: Generate a static website from any back end by hnal943 on Saturday May 02, 2020 @11:44PM (#23056716)
Seems like static site generation for non-programmers, maybe.
Re:Show HN: Generate a static website from any back end by spelunker on Friday May 01, 2020 @03:41PM (#23045742)
Very clever!
Re:Show HN: Generate a static website from any back end by tiborsaas on Friday May 01, 2020 @08:34PM (#23047968)
I was about to post the same question, it's a very similar, but it seems more complicated than just going with CloudFlare. I think they are pretty close in performance boost, but I wouldn't place my bets yet :)
Re:Show HN: Generate a static website from any back end by DoctorOW on Friday May 01, 2020 @01:10PM (#23044218)
Typically CDN caches are cleared after X amount of time, or are cleared manually. This solution generates your entire website as static HTML and viewer requests never actually reach the backend.
Re:Show HN: Generate a static website from any back end by m1guelpf on Friday May 01, 2020 @01:12PM (#23044241)
It also makes sure your whole website is cached at build time instead of needing a first request to generate the cache