https://bugzilla.wikimedia.org/show_bug.cgi?id=35842

       Web browser: ---
             Bug #: 35842
           Summary: MobileFrontend breaks frontend caching in some cases
           Product: Wikimedia Mobile
           Version: .5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Generic
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The presence of a "useformat=desktop" cookie disables squid caching for the
regular site.

I think this has to do with the way X-V-O is implemented.  And if caching
became possible when that cookie set, it would be varied upon and we'd have to
cache two desktop-format copies of every page (with useformat=desktop and
without.)  

Instead of setting useformat=desktop, delete the cookie when switching to the
desktop view. 

Then, a cookie that isn't used for varying needs to be set that's just used for
disabling the squid level mobile redirector, so set the old
stopMobileRedirect=true cookie at the same time.  It's still in the squid
config so this can be fixed without ops involvement.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to