Answer the question
In order to leave comments, you need to log in
Is it possible to store files for a site in zip'e?
If, for example, I pack files into a zip archive (photos, audio, etc.), is it possible to unpack zip files using js, get files from there and use them on the site? If so, how?
Answer the question
In order to leave comments, you need to log in
It is possible, but it is not clear why.
Servers themselves are able to compress the given files with gzip. You can open the browser console right on this page, and you will see Content-Encoding: gzip. Apache or nginx compressed the content and chrome unpacked it itself.
If you need it with the help of js, then this is also possible .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question