Understanding Storage Quota | Workbox

Jeff Posnick schreibt in Workbox

A common source of unexpectedly high quota usage is due to runtime caching of opaque responses, which is to say, cross-origin responses to requests made without CORS enabled.

Browsers automatically inflate the quota impact of those opaque responses as a security consideration. In Chrome, for instance, even an opaque response of a few kilobytes will end up contributing around 7 megabytes towards your quota usage.

Vollständigen Beitrag lesen.

Service-Mitarbeiter sind ein erstaunlicher und integraler Bestandteil des Web-Ökosystems, aber es gibt immer noch einige Fehler - und das ist einer von denen, die Sie beißen können, wenn Sie dies nicht im Voraus wissen.

Es ist großartig, Tools wie Workbox zu sehen, die damit umgehen und Sie informieren können, damit Sie wissen, was passiert.

About Me: Paul Kinlan

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.