Redirect mobile devices
When the smartphones started to spread it was a general solution to give the smartphones a different HTML code and a different page. It is a little different from the original page and it opens with smaller page size and reduced functions. The redirection is done based on the user-agent. Right now it is one of Google's policies that every single device should get the same code from the server.