caddy-cache icon indicating copy to clipboard operation
caddy-cache copied to clipboard

Persistent caching

Open pakammkrishna opened this issue 6 years ago • 2 comments

Caddy is losing caching information after server restart, then it takes time for downloading files for the first time. Is it possible to make caching persistent

pakammkrishna avatar Oct 30 '17 12:10 pakammkrishna

Yes, this is definitely something that should be made. It's not a that simple because currently the information of cached responses is kept in memory, only saving the payloads in disk. I don't have much time right now but this is one of the next features I was planning.

nicolasazrak avatar Oct 30 '17 14:10 nicolasazrak

Also, a default_max_age = forever setting would be desirable, too.

pataquets avatar Sep 08 '19 22:09 pataquets