Understanding Storage Quota | Workbox

Jeff Posnick escribe, wrt a 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.

Leer publicación completa.

Los trabajadores de servicio son una parte increíble e integral del ecosistema web, pero todavía hay bastantes inconvenientes, y este es uno de ellos que puede morderlo si no lo sabe antes de tiempo.

Es genial ver que herramientas como Workbox puedan manejar esto y le informen para que sepa lo que sucede.

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.