title: What are the ways in which I could store large amounts of data on the client browser?
body: <p>I need to perform some validations on a form, which is going to be used repeatedly by multiple clients, against some data from my database. However, this validation needs to be very quick, and multiple clients are expected to be using the application simultaneously.</p>
  
  <p>So I decided to get all the data in the form of JSON and store it on the client browser. All subsequent entries in the form will be validated against the data stored locally in the browser.</p>
  
  <p>What are the ways in which I can store large amounts of data in the browser? I looked up HTML5's <code>localStorage</code>, which seems like a good choice. Are there any caveats with <code>localStorage</code>? What are the alternatives?</p>