I am currently successfully compressing the server responses to HTTP requests for both regular requests and XMLHTTPRequests.
Unfortunately, some of my users are experiencing the following (per browser's debugging tools):
- The Request Header specifies its content-length at over three million bytes
- The Form Data section of the Request does in fact contain the key "__VIEWSTATE", whose value is 3MB (corroborating the Request Header size)
- The Request Sent time is over a minute, because the upload speed is abysmal.
So, I'm interested in compressing the view state specifically for XMLHTTPRequests, with the expectation that this will behave better with the user's upload speeds. I've attempted to use the RadCompression module to do this, and have been unsuccessful, which leads me to my question here:
How can I compress the Request Header of an AJAX request (containing the view state)?