title: Best way to cache 1.5MB of data at the client side
body: <p>I have a flash application that uses a large set (~1.5MB) of data. This data is likely to stay the same for a long time so I would like to use a caching method. The data should stay cached even if the user closes his browser (and restarts his computer).</p>
  
  <p>At the moment, I'm using javascript files that are dynamically created and contain the data that will be transfered to flash later on. The server checks the <code>If Modified since</code> argument and returns a <code>Not Modified</code> if possible.</p>
  
  <p>This method has the drawback that I still have to wait for the request to finish - I would like to rely on the old data while everything is set up and check for a new version later on. </p>
  
  <p><strong>tldr:</strong>
  Is there a possibility to store data in a local cache (in the browser or my flash application) so that it isn't deleted when the browser is closed and is available without another request to the server?</p>