2010/9/6 MZMcBride <z(a)mzmcbride.com>om>:
I was under the impression the goal for the mobile
redirection was to make
it entirely server-side, not client-side. That is, the goal isn't to move
the script to <head>, it's to remove the need for a script altogether. More
info at
https://bugzilla.wikimedia.org/show_bug.cgi?id=24859
Ultimately, yes. We discussed this briefly last week while giving Mark
a rundown of the resource loader, and Mark said that server-side
UA-based redirects are definitely feasible, but only after we move to
Varnish for our text caching (we currently use Varnish on bits for
JS/CSS caching and Squid for text and image caching). From what I
understood and remember, the Varnish migration is not really a top
priority right now and is expected to be completed in a year or so. In
the meantime, we can make the mobile redirect suck slightly less.
Roan Kattouw (Catrope)