api - gunzip in javascript -


an api returns large resultsets , wishing gzip in php wouldn't know how gunzip in javascript. there sort of library capable of in javascript? searching net , found stuff couldn't quite figure out how make use of it. so, if has ever dealt before, advise highly appreciated.

(the api response worth 1mb)

usually compression of http responses done either proxy or web server. should able configure apache you. see documentation mod_deflate more information.

in terms of unzipping in javascript, non-issue. provided http response contains correct header information. (content-encoding: gzip) browser handle unzipping you.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -