Greets all. I have an application which passes large amounts of plain text to update a <pre id="textdata"></pre> block on the client. This is all plain text and can range in size from a few bytes to 64MB. Typically though the text files are less than 1MB.
Updating the pre block can be slow. I'm sending the request via POST and getting the data back in a json object along with some metadata about the text file. I'm starting to look at this and I'm thinking that I would see better performance by breaking out the request into two parts: 0) Make sure the data is gziped 1) Request the text file via POST and get json response of metadata only 2) Update the web page from the json response 3) Second request to update the <pre> block directly from text data GET request Thoughts? What is the fastest way to update a text block with large amount of plain text? Paging isn't an option here :) Thanks. -- Scott