Gzipping data in GWT
I have a GWT application that created an XML structure and then posts this to a servlet. Is it possible to gzip this xml doc on the开发者_JAVA技巧 client side before sending it (I have a filter on the servlet that will decompress it)
Thanks
I could´t find a javascript implementation for gzip, but I found this stackoverflow thread with basically the same discussion about compression in javascript: JavaScript implementation of Gzip
Maybe you can use some of the suggestions and wrap them with JSNI.
精彩评论