cache_storage should not schedule an index write every time a cache is opened |
||
Issue descriptionCurrently CacheStorage schedules an index write every time CacheSizeUpdated is called: https://cs.chromium.org/chromium/src/content/browser/cache_storage/cache_storage.cc?l=817&rcl=3c63c96973098d33a035d8572651660838307059 This method is always called after opening a Cache object: https://cs.chromium.org/chromium/src/content/browser/cache_storage/cache_storage_cache.cc?l=2075&rcl=2f27f9b4c9fcb30f0721f0b4c8497d931cb84cf5 We should be able to avoid these writes if the size of the cache hasn't actually changed.
,
Dec 5
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Dec 5