Cache size

Martin Boer martin.boer at
Tue Mar 16 08:09:27 CET 2010


If the server has enough diskspace it doesn't really matter.
I use 15GB as that is the free space of the largest disk partition on my 
smallish server.
I'd suggest you just start using and finetuning varnish. And if you can 
spare the diskspace,
don't be shy about it. Just throw a lot at varnish.

You might or might not want to cache everything, might want to cache the 
same content multiple times for several browsertypes, might want to 
cache some stuff only for an hour while other stuff for ages and ages.
All these things will affect the amount of cache you use.

Varnish will increase performance from your current webserver(s), so 
you've won already. :)


Ketil Froyn wrote:
> Hi,
> The Varnish FAQ says:
> Q: How large a cache do I need?
> A: You should have a cache at least the size of your working data set. ...
> Is there a good way to determine the size of the working data set, so
> that I can be pretty sure I'm allocating the right amount of resources
> for this?
> Regards, Ketil
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

More information about the varnish-misc mailing list