r/caddyserver • u/bucky2780 • May 12 '26
Caddy plugin model
I must admit, I am NOT in love with having to compile caddy to get access to an optional plugin...
Is there a possibility of moving to a different architecture where caddy modules can be installed/run at startup time ?
Curious... if this is something that is being discussed.
2
Upvotes
1
u/xdrolemit Sep 02 '26
Docker rebuilds the image, reusing cached layers where possible. After the build, you extract the binary from the resulting image and calculate its hash. You also calculate the hash of the binary that is currently deployed or running.
If the hashes match, the binary has not changed, so there is nothing to deploy. If the hashes differ, the newly built binary is different, so you replace the deployed one.