Open
Bug 1865098
Opened 7 months ago
Updated 1 month ago
open.spotify.com cache grows high with 60k cache/morgue files and causes slow startup
Categories
(Core :: Storage: Cache API, defect, P3)
Core
Storage: Cache API
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
Not clear whether this is a site problem or a browser issue, but there's so many cache files (1 GB+) and reading it takes a lot of time, which causes:
- slow browser startup (takes 2+ minutes on my Surface Pro 7)
- slow Cache API responses (takes near one minute for
caches.open("data-cache-v1")
and also thecache.keys()
, which returns 1k+ keys) - failure to inspect the cache storage in devtools; it says "No data present for selected host"
At least one of the retrieved cache entry had max-age=0
but somehow that's being kept forever. (It's not clear how long exactly the entry was there as I don't know any way to tell it)
Reporter | ||
Comment 1•7 months ago
•
|
||
Hmm, in comparison, the profile in my desktop only has 600+ files with 12 MB space. cache.keys()
for data-cache-v1
returns 292 keys.
Summary: open.spotify.com cache grows forever with 60k cache/morgue files → open.spotify.com cache grows forever with 60k cache/morgue files (1 GB+ storage space)
Reporter | ||
Comment 2•7 months ago
|
||
Uh, maybe the culprit is workbox-precache-v2-https://open.spotify.com/
, which has 60,600 keys in the affected profile 🙂
Reporter | ||
Updated•7 months ago
|
Summary: open.spotify.com cache grows forever with 60k cache/morgue files (1 GB+ storage space) → open.spotify.com cache grows forever with 60k cache/morgue files and causes slow startup
Reporter | ||
Updated•7 months ago
|
Summary: open.spotify.com cache grows forever with 60k cache/morgue files and causes slow startup → open.spotify.com cache grows high with 60k cache/morgue files and causes slow startup
Updated•7 months ago
|
Severity: -- → S3
Priority: -- → P3
Comment hidden (spam) |
Updated•3 months ago
|
Attachment #9385265 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•