mirror-cache-0.1.0 is not a library.
A reverse proxy supporting multiple cache policies, customized rules, configuration hot reloading. For mirror sites and also personal users!
Features
- Cache your dependencies in limited space with LRU/TTL cache policies
- Reload updated config without restarting the program
- Support customized rules
- Expose metrics like cache hit rate per rule, task count and more
- Support multiple storage backend (memory, local filesystem and S3)
Quick start
-
Download the latest release
or install with cargo:cargo install mirror-cacheor pull from docker hub:
docker pull seanchao/mirror-cache -
Prepare a configuration file
-
Try it out! e.g
&&