Chapter 14. Device Detection and Server Requests

This chapter covers the current solutions for device detection and the process to follow when a browser requests resources from a server.

Having a server that can understand the capabilities of the device is beneficial for both the user and the developer. By knowing what to serve, you can send the right file, at the right size, and keep your HTML markup clean and neat. This helps you keep your site manageable and your visitors happy.

Device Detection

During the course of your job, you will at some point be required to create, design, or build a product that must work for myriad users. In some cases, this will be a relatively easy task: The parameters of the projects will be laid out quite neatly, ...

Get Responsive Mobile Design: Designing for Every Device now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.