mholt / caddy-webdav

WebDAV handler module for Caddy
Apache License 2.0
198 stars 22 forks source link

Separately publish executable files for caddy with webdav plugin. #12

Closed masx200 closed 3 years ago

masx200 commented 3 years ago

Separately publish executable files for caddy with webdav plugin. https://github.com/mholt/caddy-webdav/releases

Since webdav requires higher performance than static files and reverse proxy, I think webdav should be run as a separate process, and then it would be better for caddy gateway service to do reverse proxy for webdav.

It is better to separate the gateway service and webdav service into separate processes.

Compiling caddy with plug-ins still has some costs. Wouldn't it be better to publish it as an executable file?

In this way, you can get a webdav server out of the box.

wader commented 3 years ago

Is there some reason you could not run same binary but with two different configs? don't want the compiled webdav code in the binary on the gateway even when not used?

mholt commented 3 years ago

Yeah, I'm not convinced by the claims this issue makes given what is presented here, nor that this plugin needs to be packaged as a binary; will close, but feel free to discuss if necessary.