An Introduction to HTML5 Storage

System administrators do not normally concern themselves with web development, and blogs like Dedicated Server School are not normally in the business of discussing web design techniques, but there are some exceptions. The first notable exception occurs when the actions of web developers directly affect the performance of a server. Such is the case with HTML5 storage.

When dynamic websites became the norm for most servers, databases of various kinds became necessary. This added one more component that system administrators were responsible for managing. The new HTML5 specifications call for another storage option, one that may help increase server performance and also limit the amount of data management needed from the sysadmin.

In the past, the primary way to store important information related to a user visiting a website was to use a cookie, a small text file stored on the user’s computer. The only effective alternative would be to use some type of authentication system and store the information on the server side (such as PHP+MySQL). Web storage is a reasonable alternative that is more secure than cookies and much faster than any other previous alternative.

The benefits of web storage are clear. If the data you need to save for a user is not something you need on your server but also not something your user would want stored in a cookie, web storage can fill that void. For more information about the technical details of HTML5 web storage, visit w3schools.