Varnish 3.0.2 on FreeBSD 8-STABLE: Constant Restart
Andreas Plesner Jacobsen
apj at mutt.dk
Wed Jul 18 09:57:44 CEST 2012
On Tue, Jul 17, 2012 at 09:35:34PM -0400, Marc Fournier wrote:
>
> Okay, I'm lost here … what sort of site is Varnish good for … ? A news web
> site where nobody every logs into the site … ?
Varnish can be used for that, you just have to tell it to vary the cache based
on the login.
> For instance, the impression I'm getting is that you couldn't use Varnish in
> front of a Facebook like site, since none of the hits would be anonymous?
> But would be potentially useful in front of a Slashdot like site, where alot
> of the hits *are* anonymous?
You can use varnish in front of both (I believe that facebook actually uses
varnish to some extent)
> The reason I started to look at Varnish was a client asked about it in terms
> of the W3T Cache that is available for Wordpress … it apparently has the
> ability to 'invalidate cache' in a varnish server, so as to force it to
> reload from apache … but I don't know enough about Wordpress to know if I can
> even safely disable cookies, but without disabling cookies, nothing will get
> cached, making Varnish good as a load balancer, but losing the major benefit
Nothing will be cached *in the default configuration*, if Cookie-headers are
present in the request or Set-Cookie headers in the response.
Your task is to write the configuration that fits your application needs.
--
Andreas
More information about the varnish-misc
mailing list