Saturday 10 July 2021

Decompress a json file in ReactJs

I have stored a json file on blob storage with .gz compression so my file url will look like this https://abcd.blob.core.windows.net/mydir/largefilecompressed.json.gz. So now I need to understand how can i fetch this and decompress to largefilecompressed.json in ReactJs.

The file is 2-3 MB without compression, on low network areas its taking time load and affecting user experience that's the reason why I want to avoid doing this from server



from Decompress a json file in ReactJs

No comments:

Post a Comment