| ▲ | tamnd 4 hours ago | |
And thanks for the link. Let me implement this single HTML feature, it looks nice to have! | ||
| ▲ | maxloh 2 hours ago | parent [-] | |
Yeah. An idea on top of that is to bundle an entire website into a single HTML page, with vendored JavaScript to enable client-side routing (all of the original pages' JS is still stripped out). That way, the page is self-contained as it is, but requires no bundled binary code to serve the site. It is actually safer security-wise. The vendored script can be as simple as this: | ||