<div dir="ltr">As far as I know if the backend does not change the object requested dynamically (page source code, image, etc) using conditions that depends on the value of cookies it is safe to be cached in varnish (or a public proxy).<br>
<div>
<br>You will (should) not be using third party cookies to generate different contents, and the google analytics server and the Openx Ad server will deffinetly be generating different content using the cookies. But the parsing code is a javascript included in your page but (this is important) served by their servers, so it can never be cached by varnish because the client browser ask for it directly to the third party servers.<br>
<br>Greetings, hope it makes sense.<div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Fri, Aug 8, 2008 at 21:20, Ian M. Evans <span dir="ltr"><<a href="mailto:ianevans@digitalhit.com" target="_blank">ianevans@digitalhit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Okay, well, I thought I was doing the cache friendly thing by moving my<br>
poll only cookie to the /poll/ path (Re: Ignoring cookies except for one<br>
area)<br>
<br>
That worked, but after checking out my cookies in Firefox, I see that<br>
Google Analytics and the Openx Ad server toss a bunch of cookies in '/'<br>
for my domain. So of course a cookie is attached to each page, image,<br>
javascript and CSS file.<br>
<br>
Since I assume that some of the main sites in need of Varnish would be<br>
the high-traffic, digg-friendly, ad-supported, Analtyics-using sites<br>
what's the way around this?<br>
<br>
From what I've been reading I can use the VCL rules to strip the<br>
cookies off the static stuff like .css and .jpg, and .js...but what<br>
about the dynamically-created pages?<br>
<br>
And how do I know where cookie stripping might hurt ad delivery?<br>
<br>
I didn't see anything about dealing with ad servers in the FAQ, so I<br>
thought I'd ask.<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@projects.linpro.no" target="_blank">varnish-misc@projects.linpro.no</a><br>
<a href="http://projects.linpro.no/mailman/listinfo/varnish-misc" target="_blank">http://projects.linpro.no/mailman/listinfo/varnish-misc</a><br>
</blockquote></div></div></div></div><br clear="all"><br>-- <br>Jorge NerĂn<br><<a href="mailto:jnerin@gmail.com">jnerin@gmail.com</a>><br>
</div>