Click to See Complete Forum and Search --> : Is server side device detection acceptable these days?


handcraftedweb
01-16-2012, 12:09 PM
So I've heard it said that it's poor practice try and determine the client device and serve HTML specific to that device, that it was best to use media queries to serve CSS tailored to the device.

But I just discovered this report (http://mobiforge.com/designing/blog/server-side-device-detection-used-82-alexa-top-100-sites) that says Server-side device detection used by 82% of Alexa top 100 sites

I'm sure media queries are used by most sites in surveyed, but the report says they different html is served depending on the on the user agent string.

Has anyone heard of any best practices for doing server side device detection?