Hacker News new | ask | show | jobs
by bruno2223 3538 days ago
For static files:

1. Mimefy plug: check

2. Gzip feature: check

3. HTTP/2 new protocol: check

4. Auto SSL: check

5. Cache static files on memory to avoid reading then on disk, then Mimefy, then gzip on eveeeery request: MISSING <- this plug would be nice to have it to reduce disk I/O and CPU.

2 comments

I am not a caddy developer but I notice the same plugin missing so I started my own. https://github.com/nicolasazrak/caddy-cache still needs a lot of work thought.
Cool! Thanks for working on this. It may address one of the oldest issues: https://github.com/mholt/caddy/issues/10
Wow - now you forced me to switch from what I have to Caddy. Cool nazrak, tks!!
Isn't 5 handled by the OS?
OS can cache the read but can't help with gzipping that is still a lot of CPU cycles