different cache per user agent

Per Buer perbu at varnish-software.com
Sat Dec 18 10:05:55 CET 2010


Check out "using varnish" in the docs. It has a recipe on normalizing
accept-encoding.


Per.


On Fri, Dec 17, 2010 at 4:36 PM, Marko Kruijer <marko at oktober.nl> wrote:
> I've found the problem already. My backend was gzipping content, this
> somehow made the browsers cache differently.
>
> On 17-12-2010 16:23, Josh wrote:
>>
>> Check the vary-by coming back from the backend and verify that you're
>> really not setting any cookies.  I saw this same thing and realized it
>> was cookies being set by analytics javascript on page.  Watch requests
>> in something like fiddler and see what you're getting back.
>>
>> On Fri, Dec 17, 2010 at 7:23 AM, Marko Kruijer<marko at oktober.nl>  wrote:
>>>
>>> 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
>>>
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc at varnish-cache.org
>>> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>>
>>
>>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Per Buer, Varnish Software
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
Varnish makes websites fly!




More information about the varnish-misc mailing list