Possibly stupid question, I have poor knowledge of java script, I have a json file that I use to store an array of coordinates. The file is stored in the editor, I load it through the script. But the file size quite a lot, gzip compresses it well(x8-9), but I don’t quite understand how I can read this gzip file and turn it into a json?
Hi @SashaRX,
Gzip compression is enabled on the server and the browser will automatically use it to downloaded the compressed file and extract it. You don’t need to do anything client side.
Just contact your server admin and work with them to enable gZip compression for the required filetypes (e.g. json).
1 Like
Thank you!, I look in console, it really works automatically for json!
1 Like