8. Web Storage and Offline Web Applications

The greater complexity of web applications leads to an increase in the network bandwidth used. Although the capacity of data lines continues to increase as well, ways need to be found to optimize these transmissions by reducing them. Up until now, there was only one standardized method of storing information on the client side: cookies. Given that each cookie belonging to a website is transmitted fully from the client to the server with each call of the site, cookies should not be excessively large. In addition, web servers limit the maximum size of HTTP request fields, for example, to 8KB in the Apache server’s default setting.

The solutions suggested by the WHATWG fall into two categories, which are ...

Get HTML5 Guidelines for Web Developers now with O’Reilly online learning.

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