javascript - send xhr post compressed -
i have "monitored" application. every minute web client post services sending json data. json big (circa 20kb each time).
is there way send "compressed" version of data? need applicatively?
i'm using jquery client side, , can send custom headers server.
well can compress data in client side library https://github.com/cscott/compressjs. there multiple methods choice should made based on input data , resources available in client side.
besides using post request may try websocket connection should better sending larger input data.
Comments
Post a Comment