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

<p>Jeff Posnick writes, wrt to Workbox</p> <blockquote> <p>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.</p> <p>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.</p> </blockquote> <p><a href="https://developers.google.com/web/tools/workbox/guides/storage-quota">Read full post</a>.</p> <p>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.</p> <p>It's great to see tools like Workbox being able to handle this and inform you so that you know what happens.</p>


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/

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

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.