title: How can I generate and download a large file clientside using Javascript?
body: <p>I have an application that displays a large set of data using Slickgrid.  The dataset may be 30-50MB in size.  I would like users to be able to download the current view of the data displayed.  What is the best way to set this up?</p>
  
  <p>I have considered the approach described <a href="https://stackoverflow.com/questions/3665115/create-a-file-in-memory-for-user-to-download-not-through-server">here</a> using data URIs, but the maximum size of a URI is much too small. </p>
  
  <p>I have also considered the approach described <a href="https://stackoverflow.com/questions/921037/jquery-table-to-csv-export">here</a> where the client posts arbitrary data to the server, which the server echos back as a download.  I worry that the documents may exceed the maximum POST size. </p>