Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request. Add an option to GZIP service-worker.js file. #133

Open
JustFly1984 opened this issue Jan 14, 2018 · 5 comments
Open

Feature request. Add an option to GZIP service-worker.js file. #133

JustFly1984 opened this issue Jan 14, 2018 · 5 comments

Comments

@JustFly1984
Copy link

The issue I'm experiencing is pretty annoying.
I'm trying to optimize my first byte, by turning off compression, and gziping everything by webpack with CompressionPlugin. The issue is that it doesn't compress service-worker.js produced by sw-precache-webpack-plugin.

I understand the reason why: service-worker.js should cache all chunks produced by webpack after CompressionPlugin compression.

This is why I think it should be an option in sw-precache-webpack-plugin itself.

Thank you)

@nisargrthakkar
Copy link

+1

@njacob1001
Copy link

yes! +1

@aralroca
Copy link

Any new?

@goldhand
Copy link
Owner

Happy to take a PR for this :)

@abhipanda
Copy link

Is there a workaround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants