Nice, how large can the archives become? I guess there is a size limit, which may be different for different browsers.
Also, I wonder how difficult it would be to port a decompression library to asm.js.
Also, I wonder how difficult it would be to port a decompression library to asm.js.
The need appeared when I was doing my WebGL game engine and wanted to pack/compress mesh, texture, xml and any other stuff that would bloat my loading time with tons of HTTP requests!
Also the browser's native PNG decompression would be faster than any external JS lib for lossless decompression.
I limited it to a 16k x 16k PNG (but I think modern browsers can take more than that), allowing 1GB of data.