title: Handling large data through restapi
body: <p>I have a RestFul server that is suppuse to return a large json object more specifically an array of objects to browsers. For example 30,000 points will have a size of 6.5mb.</p>
  
  <p>But I get this content mismatch error in browser when speed is slow. I feel it is because large data throught rest api breaks up something. Even in Postman sometimes it fails to render even though i see data of 6.5 mb received. </p>
  
  <p>My Server is in NodeJS. and return content-type header is application/json.</p>
  
  <p><strong>My Question is</strong></p>
  
  <p>Would it make more sense if I return a .json file. Will the browser be able to handle. If yes, then I will download the file and make front end changes.</p>
  
  <p><strong>Old URL</strong> - <a href="http://my-rest-server/data" rel="nofollow noreferrer">http://my-rest-server/data</a></p>
  
  <p><strong>Proposed Url</strong> - <a href="http://my-rest-server/data.json" rel="nofollow noreferrer">http://my-rest-server/data.json</a></p>
  
  <p>What would be content-type in the proposed url?</p>