different cache per user agent

Stefan Pommerening pom at dmsp.de
Fri Dec 17 15:39:03 CET 2010


Hi Marko,

sounds like your web server sends a vary: header for user-agent.
This might be the reason that you have different variants of the same 
object in cache.

Look here:
http://www.varnish-cache.org/docs/trunk/tutorial/vary.html

Stefan

--
http://dmsp.de


Am 17.12.2010 15:23, schrieb Marko Kruijer:
> I've got Varnish working after some struggling, for testing purposes 
> I've set the objects ttl to 15 secs.
>
> I noticed that when calling a page from Firefox, and immediately after 
> that from Internet Explorer, the served page is different. They are 
> however cached for 15 secs.
>
> Is this default for Varnish? If I'm correct it is not, there are NO 
> cookies set. What can cause this behaviour?
>
> Regards,
> Marko 




More information about the varnish-misc mailing list