Varnish & Multibrowser
Ask Bjørn Hansen
ask at develooper.com
Wed Mar 2 18:26:05 CET 2011
On Mar 2, 2011, at 9:17, Roch Delsalle wrote:
> I would like to know how Varnish would behave if a web page is different depending on the browser accessing it.
> (eg. if a div is hidden for Internet Explorer users)
> Will it cache it randomly or is will it be able to notice the difference ?
You have to add a token to the cache key based on "was this MSIE". (Or have the developers do it with CSS or JS instead ...)
More information about the varnish-misc