4 ms·
Basic HTML isn’t static HTML. The comments and posts for Hacker News still needs to be stored and loaded from a database.
by jesse_faden 3y ago
Basic HTML isn’t static HTML. The comments and posts for Hacker News still needs to be stored and loaded from a database.
- diggan 3y agoWell, kind of, at least considering the last public version of Arc, that HN uses (found here: http://arclanguage.org/ http://arclanguage.org/) It seems to be storing stuff directly on disk, on the same host that the software itself runs on. So you're right if you consider the filesystem a sort of database, but otherwise no :)
- robertlagrant 3y agoIt was announced in 2008! 15% into the 100 year language.
- mysterydip 3y agoNot sure their tech stack (I'm sure there's a post on it somewhere) but there was a forum software way back that would compile replies and such into static html pages when the submit button was hit, on the assumption that they would be read a lot more times than written to. Worked pretty well from what I recall.
- diggan 3y agoGreat idea in theory until you want to change the presentation and now have to recompile 3̵7̵8̵4̵3̵1̵0̵5 (37843314) items :)
- mysterydip 3y agoTrue, but it was split into pages so at most 20 items :)
- grotorea 3y agoThat doesn't matter for the client through. As long as the data can come in a single small file, for example the <3KB HTML file for the tab I'm writing this on, what the server is doing doesn't matter.
- circuit10 3y agoThat doesn’t happen over my mobile data connection so I don’t see how that’s relevant to my point
- sitkack 3y agoAfaik hacker news pages are stored on the file system.