Gzipping data in GWT

I have a GWT application that created an XML structure and then sends it to a servlet. Is it possible gzip this XML document on the client side before sending it (I have a filter on the servlet that will unpack it)

thanks

+4
source share
1 answer

I could not find a javascript implementation for gzip, but I found this stackoverflow thread basically the same discussion about compression in javascript: JavaScript Gzip implementation

Perhaps you can use some of the suggestions and wrap them with JSNI.

+3
source

All Articles