Varnish Cache and Page Load Time

Sébastien FOUTREL sfoutrel at
Fri Apr 24 17:11:57 CEST 2009

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 visitors has a unique cookie then varnish will cache one object for each visitor...

Not so efficient isn't it ?




De : varnish-misc-bounces at [mailto:varnish-misc-bounces at] De la part de Brian Pan
Envoyé : vendredi 24 avril 2009 16:21
À : varnish-misc at
Objet : Varnish Cache and Page Load Time


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 seconds, whereas it takes 1.4-1.7 seconds to load the Wordpress site.  \


With the varnish cache working, shouldn't the time to load both sites be approximately the same?  Or am I missing something?  Any thoughts or ideas about how I could decrease the page load time of the Wordpress site?  


Thanks for your help, 


Brian Pan

brian.pan at




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list