From 5f5df0c86018fc809b845597343479e551b3a910 Mon Sep 17 00:00:00 2001 From: Rune Madsen Date: Tue, 8 Sep 2015 10:53:33 -0400 Subject: [PATCH] updating readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 08c2fe5..0cacac7 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,10 @@ full-size codercat image, and one for the resized 500px version. [codercat URL]: http://localhost:8080/500/https://octodex.github.com/images/codercat.jpg +By default the disk cache will grow to 100MB. You can change this size by using the `-cacheSize` flag. The following example will allow the cache to take up 500MB of space. + + imageproxy -cacheDir /tmp/imageproxy -cacheSize 500 + ### Referrer Whitelist ### You can limit images to only be accessible for certain hosts in the HTTP referrer header. This may be useful to prevent others from hotlinking to images, and using your valuable bandwidth! It can be enabled be running: