Ive used static files stored as gzipped json before, and it worked fine with ajax. Compression is a simple, effective way to save bandwidth and speed up your site. Should see a content encoding header like contentencoding. This class can compress and decompress json data using the reduced json format. All modern browsers understand and accept compressed files. And is there a way to test it does respond with gzip when asked. Jsonc has two differents approaches to reduce the size of the amount of data to be transported.
Welcome to the online json minifier, json minify, json compressor at. I say i think because i may have something wrong in my jquery call. For web apps that receive json and simply write it to a queue, database, or other storage, try not to ever parse the json if you can. Hi, i have huge object about kb coming from server as json string. Gnu gzip home page, where you can find the latest gzip source code, documentation. One commonly occuring them on discussions on merits or lack thereof is the question but does the size matter.