Uncaught (in promise) DOMException: Quota exceeded

Hi,

sometimes i get below error. Any idea please. Thanks

Uncaught (in promise) DOMException: Quota exceeded.

1 Like

That can happen but our service worker is configured to heal itself when this errors happens:

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/service-worker.js.erb#L21

https://github.com/GoogleChrome/workbox/blob/234e69d9506be9301705171ba0dbfe046262f029/packages/workbox-expiration/src/ExpirationPlugin.ts#L91-L93

https://github.com/GoogleChrome/workbox/blob/master/packages/workbox-core/src/_private/cacheWrapper.ts#L301-L309

https://github.com/GoogleChrome/workbox/blob/234e69d9506be9301705171ba0dbfe046262f029/packages/workbox-expiration/src/ExpirationPlugin.ts#L278-L288

I never see this error on Firefox, so I assume it is running as intended, where my total cache for Meta is just 96MB.

If the errors is persistent for you we may need to report it upstream.

6 Likes

i also get same error on Chrome.

Report this directly to the Chrome developers, as indicated in the post directly above yours.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.