O'Reilly logo

HTML5 Data and Services Cookbook by Mite Mitreski, Gorgi Kosev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Data Storage

This chapter covers the following recipes:

  • Data URI
  • Session and local storage
  • Reading data from files
  • Using IndexedDB
  • Limits of the storage and how to ask for more
  • Manipulating the browser history

Introduction

When we talk about storage, most of the developers think about storing data on the server on some database. HTML5 really makes a leap forward on what can be passed around and saved to the client side. Whether is for some temporary use, caching, or full offline usage of entire apps, client-side storage is becoming more and more common.

All of these great features that enable us to store data at the client side making the applications ultimately faster, more usable and reachable. Even in cloud-based solutions we still need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required