Re:Astro 1.0 – a web framework for building fast, content-fo...
by francislavoie on Tuesday August 09, 2022 @03:23PM
(#32402803)
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
[ Parent
| on HN ]
Re:Astro 1.0 – a web framework for building fast, content-fo...
by infogulch on Tuesday August 09, 2022 @04:54PM
(#32404154)
Have you considered adding WASM / WAGI support?
Re:Astro 1.0 – a web framework for building fast, content-fo...
by francislavoie on Tuesday August 09, 2022 @05:07PM
(#32404316)
Not 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
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.