On Wed, Sep 23, 2015 at 10:34 PM, Nicholas Alexander <[email protected]
> wrote:

>
>
> On Wed, Sep 23, 2015 at 5:59 PM, Ehsan Akhgari <[email protected]>
> wrote:
>
>> Sigh...
>>
>> Do you know what's different between the initial request that we make for
>> the page and the one that we make when we request the desktop mode?  Is the
>> only difference the User-Agent header?
>>
>
> I think this is correct, based on reading the test at
>
> https://hg.mozilla.org/mozilla-central/rev/c4a1f1188677#l4.57
>
> and the code at
>
>
> https://dxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#3210
>

Ah, of course.  I am not surprised that nobody is using Vary: User-Agent <
http://www.rimmkaufman.com/blog/vary-user-agent/30112012/>.

I will backout that part of the patch, as I now believe not bypassing the
cache in that case is incorrect.  Thanks for catching this!

-- 
Ehsan
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to