Skip to content

Compressed local content #125

Open
gluth opened this Issue Aug 6, 2012 · 2 comments

2 participants

@gluth
gluth commented Aug 6, 2012

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).

@paradisaeidae

Agreed!

@gluth
gluth commented Nov 14, 2012

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.