simple configuration

Per Buer perbu at varnish-software.com
Thu Jan 24 22:53:44 CET 2013


On Wed, Jan 23, 2013 at 1:37 PM, Friedrich Locke
<friedrich.locke at gmail.com>wrote:

> Hi folks,
>
> i have just installed varnish and this is my first message to the list.
> I did i very simple configuration. I edited /etc/varnish/default.vcl.
>
> I included the following lines:
>
> backend default {
>         .host = "aton.cpd.edu.br";
>         .port = "80";
> }
>
> I stress loaded the my site, now being served by varnish, but i
> noticed no performance improvement.
> I would like to do a minimal configuration just to see how fast
> varnish could do.
> Is there something more i need to configure in order to get the taste
> of varnish ?
>

Yes. Most likely there is an issue with some cookie being set by the
backend thereby disabling caching. You might want to have a look at one of
the following:
 - Using Varnish, a tutorial -
https://www.varnish-cache.org/docs/3.0/tutorial/index.html - it has a
chapter on "why doesn't Varnish cache my site"
 - The Varnish Book -  https://www.varnish-software.com/static/book/




-- 
 <http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130124/01efd1ea/attachment.html>


More information about the varnish-misc mailing list