2012/7/18 Marc Fournier <[email protected]>:
>
> Okay, I'm lost here … what sort of site is Varnish good for … ?   A news web 
> site where nobody every logs into the site … ?
>
> 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?
>
> 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 …

Hi,

You don't need disable cookies, you could "pass" requests with
specific cookies (wordpress_logged_in and others)

In the other hand, you need a wordpres plugin in order to purge new
comments, posts, etc. Check this one (includes VCL example):

http://wordpress.org/extend/plugins/cd34-varnish-esi/

There is several plugins doing the job, take a look on them.

Hope this helps.
Kind regards.

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to