Re: best varnishd config for static files

2009-04-24 Thread Kristian Lyngstol
On Fri, Apr 24, 2009 at 01:28:36PM +0200, Kain Sascha wrote: /usr/local/sbin/varnishd -a :80 -b 89.250.xx.xx:80 -s malloc,15360M You may want to supply a -w. The default is really whimpy which could create problems during spikes of traffic. Try something like -w 400,800. Varnishstat

Varnish Cache and Page Load Time

2009-04-24 Thread Brian Pan
I have a two websites on a server running behind varnish. One of the websites is a Wordpress blog (with php, mysql etc..). The other is a simple html (without php or mysql) website. Using Firefox's Yslow add-in to check page load times, I have found that the simple html page is served in 0.5

RE: Varnish Cache and Page Load Time

2009-04-24 Thread Sébastien FOUTREL
As you might know, Varnish needs some tuning to cache efficiently your website. In your case, do your cache lasts long enough to stay between 2 visits from you ? Did you made some tuning to exclude some pages, cookies from cache ? By default varnish use cookies as part of the hash so if each