Chapter 14: Device Detection and Server Requests

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

The ability for a server to understand the capabilities of the device is beneficial for both the user and 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.

Download Code

Code sample for this chapter includes HTML, CSS, and JavaScript included in a blocking manner to show how different browsers handle blocking JavaScript.