https://bugzilla.wikimedia.org/show_bug.cgi?id=34145
--- Comment #3 from Daniel Friesen <[email protected]> 2012-02-02 19:47:40 UTC --- (In reply to comment #2) > (In reply to comment #1) > > I believe varnish is configured to pretend that "Host: en.wikipedia.org" > > when > > in reality it's "Host: en.m.wikipedia.org". > > This is not exactly the case, but close. > > > > > I'd like to see that dropped and have MobileFrontend explicitly test to see > > if > > it's on the mobile site. > > We don't want to go past the caching layer for this test. I mean I want MobileFrontend to test for en.m.wikipedia.org for assertion that it's on the mobile domain instead of testing for X-Device which will only be set by varnish. They have the same caching implications. > > > > WURFL is included into MobileFrontend. Perhaps some more work on that > > should be > > done so that WURFL can be used inside Varnish, and also inside php as a > > fallback. > > We are working on integrating WURFL or something similar into the caching > layer. > > > > > It would also be nice for one version of the mobile device redirection from > > the > > desktop to mobile version to be built-in to MobileFrontend. > > It is currently built-in you just need to change a few things like in this > gist: > https://raw.github.com/gist/1590648/86abdf93a99876c609862b28f8dae1b488bded03/MobileFrontend.php > > But, I agree it should be streamlined and made consistant throughout > implementations. -- 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
