logoalt Hacker News

embedding-shapeyesterday at 6:22 PM5 repliesview on HN

Caddy been a breeze to use, bit sucky model with "we have thousands of binaries depending on what combination of plugins you want" instead of a proper plugin system, but if you're building it from source, it's pretty nifty and simple anyways.


Replies

eikenberryyesterday at 7:12 PM

Recompiling with the features you want is a great model for a free software project. So much simpler to write and maintain compared to a plugin system that it really makes more sense in a lot of cases.

show 1 reply
pjmlptoday at 6:10 AM

That is a consequence of static linking, and an abandoned plugin package that hasn't yet been removed due to backwards compatibility.

People keep forgetting that with static linking they are back to 1980's IPC for application extensions, or building from scratch every time they need to reconfigure the application.

sharperguyyesterday at 10:16 PM

I've switched to using traefik from caddy. For simple use cases it's a little more verbose in the configuration, but for more involved things like multiple load balancing backends, rewriting paths and headers and so on I've found it really good.

vbernatyesterday at 7:47 PM

nginx had this defect for a long time too!

dborehamyesterday at 8:58 PM

Go doesn't support runtime linking, which is why "no plugins" (even though Go docs claim it does, no it doesn't).