Handling gzip stream client side

Handling gzip stream client side

ncostantinincostantini Posts: 1Questions: 0Answers: 0

Hi there,

I'm using a datable with server side paging. Actually the API returns a gzip json. Is there a way to enable the deflate clientside ?
Thanks in advance
Nicola

Replies

  • MisiuMisiu Posts: 68Questions: 4Answers: 2

    This is done by browser and server-side. Check if Your browser is supporting deflate - see headers of Your request, if You'll see something like this Accept-Encoding:gzip,deflate,sdch in request then problem is Your server-side.
    What language are You using on server?

  • allanallan Posts: 63,102Questions: 1Answers: 10,393 Site admin

    As in HTTP gzip, or at level 7 it is actually gzip data that the the Ajax handler will see? What would be the benefit of doing that over using http gzip?

    If that is the case, you will need a Javascript gzip library to decompress it, which you might be able to find one through Google, but it does see a little redundant (to my mind!).

    Allan

This discussion has been closed.