4 ms·
This would be far more versatile as an approach if HTML could include other HTML. Not SSI but built into the spec and requiring nothing from the server and no J
by api 4y ago
This would be far more versatile as an approach if HTML could include other HTML. Not SSI but built into the spec and requiring nothing from the server and no JavaScript.
Couple this with good CSS and HTML could actually be composable. Composability was known to be a good thing in GUIs in the 1970s and the web still struggles with achieving it without heaps of JavaScript.
Of course I’m sure there is some weird reason this was never done, so instead you need mountains of shit to work around it.
- superkuh 4y agoThis is pretty much server side includes, SSI, and it's amazing and still in your server binary's today. It's a tiny, negligible, attack surface with just enough power to include bits of html so you can do templating and single file edits of the entire site. It's old tech but it's really at the sweet spot for power versus complexity. I still use it and recommend others do as well. It makes a static site much easier to maintain.