cachestorage

Chrome shows high cache storage use

橙三吉。 提交于 2019-12-07 03:35:42
问题 I have been analyzing the cache storage use of complex application, when I realized that the stored image or script with certain content-length N actually takes 5N-10N space in the cache storage. Consider this sample: I am requesting image from OpenStreetMap via service worker and storing it in cache. There is only one image stored in cache. The Chrome version is the latest one (Version 65.0.3325.146 (Official Build) (64-bit)). This is the view of cache storage after refresh: This is the view