Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Sourcemap files should not be cached in Service Worker #534

Closed
nolanlawson opened this issue Dec 16, 2018 · 0 comments
Closed

Sourcemap files should not be cached in Service Worker #534

nolanlawson opened this issue Dec 16, 2018 · 0 comments

Comments

@nolanlawson
Copy link
Contributor

Using Webpack, sourcemap files are included in the Service Worker shell files. This is wasteful because there's no need for a ServiceWorker to cache these; they're only useful for debugging. It increases the size of the Service Worker (doubles the number of JS strings in the list) and also adds to the page weight and disk usage.

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

1 participant