1
GZIP unzipping files is part of the HTTP / 1.1 protocol that is not used by browsers to upload local files. So I guess the short answer is no. I’m sorry!
You can resort to unzipped files or unzip them before loading the web page or running an HTTP daemon (web server) on the local machine that serves files to the web browser.
Reference:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding
- https://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/
hope it helps
Thank you very much, I will look into how to do it, I am starting to use gzip now so I will get a little bit in the beginning. Hugs!
– Jorge.M
Just one more thing, where I would put the Accept-Encoding: gzip, deflate ?
– Jorge.M
@Jorge in the request headers, on the client side
– Jefferson Quesado