sillygod / cdp-cache

a caddy 2 proxy cache plugin
MIT License
120 stars 18 forks source link

Limit hard disk cache size? #51

Open ArsFy opened 2 years ago

ArsFy commented 2 years ago

I want to limit the cache size, like nginx.

sillygod commented 2 years ago

@ArsFy Hi, currently, there is no such limit for total cache size or for a single cache when using the file backend. For the in-memory backend, you can specify the maximum total cache size.

I will note this as an enhancement.