Skip to content

Update workbox plugin to 5.1.2 resolving ServiceWorker quota exceeded errors #8821

@jflayhart

Description

@jflayhart

Is your proposal related to a problem?

Currently our e-commerce site is experiencing millions of ServiceWorker DOMException: QuotaExceededError errors (we're not the only ones), which almost blowing through our monthly Rollbar limit 😬. I did some brief research and found that Google is aware of this issue and recommends purgeOnQuotaError to potentially fix most of these runtime quota issues.

I could be mistaken, but looks as if CRA is using workbox 4.3.1, and this purgeOnQuotaError was added in 5.0.0 as default enabled.

Since CRA follows best practices, I highly suggest we update Workbox plugin ASAP so we can be on par with Google's best practices for handling ServiceWorkers.

Thanks and love this app!

Describe the solution you'd like

Update workbox-webpack-plugin to 5.1.2

Describe alternatives you've considered

None possible without ejecting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions