3 ms·
That point is very curious, since you actually can email someone an .html file, and it will "just work".
by recursive 6y ago
That point is very curious, since you actually can email someone an .html file, and it will "just work".
- AnIdiotOnTheNet 6y agoWhen was the last time you saw a web app that was a single html file and nothing else?
- recursive 6y agoAround the same time I saw a web app that was a single SWF file that you could email. I do see tech demos in that form factor though. Or at least they could easily be.
- dsego 6y agoNot if it has local dependencies, like js or css, then you would need to bundle those as well, in an archive perhaps.
- krapp 6y agoYou can include js and css in the same html file, between <script> and <style> tags.
- dsego 6y agoDuh, that's if I build the page myself and I know how to code html. Even then it's not trivial in the sense that it will "just work".
- recursive 6y agoFor the purposes of email inclusion, there's really no reason not to inline all that stuff.
- josefx 6y agoWith resources embedded in the highly "compressed" base64 encoding. Quite a few email services will probably block those html files just because they end up stupidly large unless your content is text only and doesn't include half a dozen java script frameworks to manage basic animations.
- Olreich 6y agoThose same email services blocked SWF files too because they were dangerous. This is no different. As for size, browsers really should allow gzip encoding for html files from your desktop. Would pack all the inlined crap down to a reasonable size and then you could transfer things around better.