Page MenuHomePhabricator

Mobile pages are cached in the file cache
Closed, ResolvedPublic

Description

This is with $wgMFAutodetectMobileView set to the default value of false.

With MobileFrontend enabled, clear the HTML cache. On a page, click the "Mobile view" link. The page you were on will load with the toggle URL (/index.php?title=Page1&mobileaction=toggle_view_mobile).

Now in the mobile view, click a link on that page to go to another page. The second page (and subsequent pages) will load in mobile view at the normal URL (/wiki/Page2) and will be cached in mobile view.

The file cache should be disabled if a page is being loaded in mobile view.


Version: unspecified
Severity: normal

Details

Reference
bz68106

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:37 AM
bzimport set Reference to bz68106.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/cY7ZSo2B

Change 160563 had a related patch set uploaded by MaxSem:
Add a hook to allow extensions to prevent HTML file caching

https://gerrit.wikimedia.org/r/160563

Change 160568 had a related patch set uploaded by MaxSem:
Disable file caching for mobile pageviews

https://gerrit.wikimedia.org/r/160568

Change 160563 merged by jenkins-bot:
Add a hook to allow extensions to prevent HTML file caching

https://gerrit.wikimedia.org/r/160563

Change 160568 merged by jenkins-bot:
Disable file caching for mobile pageviews

https://gerrit.wikimedia.org/r/160568