News for hackers. Stuff that matters.
Re:A whole website in a single JavaScript file by seanstrom on Thursday April 07, 2022 @04:29PM (#30949950)
I keep seeing comments about static html vs generated html. So I have a question (please respond):

Why can’t we just run the example Deno program to generate snapshots of html?

It seems like some of us think pure static html is a good goal for some things, so why not use this Deno program to create the same html responses in generated files?

It’s probably the same amount of code because instead of writing a http response you write a file.

Of course you lose some functionality this way, but your app you rules imo

There are no comments on this comment yet.