Hacker News new | ask | show | jobs
by seanstrom 1530 days ago
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