Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Compressed local content #125

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

Compressed local content #125

gluth opened this issue Aug 6, 2012 · 2 comments

Comments

@gluth
Copy link

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
Copy link

Agreed!

@gluth
Copy link
Author

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants