Open gluth opened 11 years ago
Agreed!
I think that it can be also solved, by adding Content-Encoding: gzip, when in incoming headers there is AcceptEncoding: gzip. Then there is no need to decompress it on the fly by framework itself (it will be done much quickier by native browser functions).
It would be nice for WebWorks to support locally compressed files, by example: website requests styles.css there is no such file in package, but there is a file called styles.css.gz, which is filtered through ZipInputStream and returned to browser. This would drastically lower package sizes, and would increase loading times on older phones (flash storage is slower than memory and processor).