+++ date = "2025-03-13T22:42:18+00:00" lastmod = "2025-03-13T22:42:18+00:00" tags = [ "gists" ] +++ I was shown this thing called {{< abbr "SSI" "server side includes" >}}. It's the sneakiest of tricks for primitively boosting any {{< abbr "SSG" "static site generator" >}}. It's supported in the web servers [`nginx`](https://nginx.org/en/docs/http/ngx_http_ssi_module.html), [`apache`](https://httpd.apache.org/docs/current/howto/ssi.html), [`lighttpd`](https://redmine.lighttpd.net/projects/lighttpd/wiki/Mod_ssi), and [others](https://en.wikipedia.org/wiki/Server_Side_Includes). ```nginx { caption="The 'ssi_last_modified' is the magic option for 'nginx'. That preserves the original modification headers if you're feeling advanced." } server { ssi on; ssi_last_modified on; } ```