3 ms·
To add onto this, we recently added plugin support for templates, so you can write your own template functions if you'd like! https://github.com/caddyserver/cad
by francislavoie 4y ago
To add onto this, we recently added plugin support for templates, so you can write your own template functions if you'd like! https://github.com/caddyserver/caddy/pull/4757 https://github.com/caddyserver/caddy/pull/4757
- infogulch 4y agoHave you considered adding WASM / WAGI support?
- francislavoie 4y agoNot really; it's already really easy to write plugins for Caddy in Go, so we haven't really seen the need. See here: https://caddyserver.com/docs/extending-caddy https://caddyserver.com/docs/extending-caddy You could write your own plugin that calls out to your WASM layer if you want, but I'm not sure we need that built into Caddy. It would be extremely niche, I think.