Chrome dev tools showing high cache storage utilisation

徘徊边缘 提交于 2019-12-07 13:04:28

问题


I was analyzing the service workers and cache storage we have implemented in our website.

Going through the process, I found out that the amount of cache storage used by the website is huge.

The cumulative size of the files that I am adding to cache storage is not more than 5-6 MB. But in the chrome dev tools, it shows approximately 130 MB storage used.

chrome - v 63 .
OS - osx

In incognito mode it shows usage as high as 100 MB which causes Quota Exceeded error .

Even after clearing browsing data from chrome settings, and reloading the webpage (bandwidth speed - 1MBps) , just after 4-5 seconds the storage use is shown as 130 MB which is practically not possible because

1) As mentioned above my actual data size added to cache is 5-6 MB .

2) even if it was somehow getting 130 MB (i don't know how), downloading 130 MB is just not possible given my bandwidth limitations.

What might be the issue here ? Why does it show such high cache storage usage?

来源:https://stackoverflow.com/questions/47737006/chrome-dev-tools-showing-high-cache-storage-utilisation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!