News for hackers. Stuff that matters.
Re:Entire website in a single HTML file by BeefWellington on Thursday December 23, 2021 @09:18PM (#29669256)
MHT did this 20 years ago and got all but abandoned (probably for good reasons).
Re:Entire website in a single HTML file by gildas on Thursday December 23, 2021 @09:58PM (#29669543)
Web bundles is supposed to replace it, cf. https://web.dev/web-bundles/
Re:Entire website in a single HTML file by adzm on Thursday December 23, 2021 @09:36PM (#29669381)
Interestingly, the support for mht/multipart is still there in Chrome and Firefox; or at least it was relatively recently. However it only works for files and not when accessing an mht file over http. The format itself is relatively simple.
Re:Entire website in a single HTML file by BeefWellington on Thursday December 23, 2021 @09:41PM (#29669412)
Yeah it's pretty much the MIME email format as a container for a webpage.

A lot of the issues "solved" in modern frameworks could have been addressed by using this, but instead things went a different path.