4 ms·
A simple static site generator approach: Splitting HTML with HTML Modules
- forgotmypw17 5y agoSSI.
- albertgoeswoof 5y agoAssuming this means Server Side Includes, you have a few issues: 1. dependency on your host/server for support- ie can you do this on s3? Netlify? Gh pages? 2. No way to embed content inside an Include 3. No easy way to apply additional transformations, eg html post processing This method only gives html pages as output, with no runtime deps
- forgotmypw17 5y agoSSI is one of the most supported technologies out there, supported by almost every server, almost as much as standard access log format. It is pretty basic, however. Just templating and kicking off scripts. Still helpful as a lowest-common-denominator tech.
- alok99 5y agoOne word reply, really? That's not even the same as generating a static site.