Understanding Storage Quota | Workbox

Jeff Posnick writes, wrt to 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.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan

Jeff Posnick writes, wrt to 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.

Read full post.

Service Workers are an amazing and integral part of the web ecosystem, but there are still quite a few gotchas - and this is one of them that can bite you if you don't know this ahead of time.

It's great to see tools like Workbox being able to handle this and inform you so that you know what happens.


This content originally appeared on Modern Web Development with Chrome and was authored by Paul Kinlan


Print Share Comment Cite Upload Translate Updates
APA

Paul Kinlan | Sciencx (2018-07-11T22:04:10+00:00) Understanding Storage Quota | Workbox. Retrieved from https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/

MLA
" » Understanding Storage Quota | Workbox." Paul Kinlan | Sciencx - Wednesday July 11, 2018, https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/
HARVARD
Paul Kinlan | Sciencx Wednesday July 11, 2018 » Understanding Storage Quota | Workbox., viewed ,<https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/>
VANCOUVER
Paul Kinlan | Sciencx - » Understanding Storage Quota | Workbox. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/
CHICAGO
" » Understanding Storage Quota | Workbox." Paul Kinlan | Sciencx - Accessed . https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/
IEEE
" » Understanding Storage Quota | Workbox." Paul Kinlan | Sciencx [Online]. Available: https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/. [Accessed: ]
rf:citation
» Understanding Storage Quota | Workbox | Paul Kinlan | Sciencx | https://www.scien.cx/2018/07/11/understanding-storage-quota-workbox-2/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.