Upcoming changes to the behavior of the reload button
Ehsan Akhgari
ehsan.akhgari at gmail.com
Thu Sep 24 03:09:21 UTC 2015
On Wed, Sep 23, 2015 at 10:34 PM, Nicholas Alexander <nalexander at mozilla.com
> wrote:
>
>
> On Wed, Sep 23, 2015 at 5:59 PM, Ehsan Akhgari <ehsan.akhgari at gmail.com>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20150923/5750e0e7/attachment.html>
More information about the mobile-firefox-dev
mailing list