1script - 5:58 pm on Aug 13, 2013 (gmt 0)
I have been using JQuery Mobile for a while now and I'm liking it. But it does not exactly look appropriate on the desktop version of the site (although it is responsive, it just looks, well, too mobile phone - like), so I'm going to use a separate subdomain for the mobile version of the site. I've seen redirects implemented based on viewport size but would like to avoid downloading two pages instead of one - 301 redirecting a mobile user to the mobile version of the site looks more efficient.
So, the question then becomes: since viewport size is not available server-side, who knows a reliable (and regularly updated) library of user agents for redirection based on agents? Is there another way to catch a mobile user without requiring them to load desktop version first (which would at least partially defeat the purpose of having a mobile version in the first place)?