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)

defect

Tracking

()

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:

  1. slow browser startup (takes 2+ minutes on my Surface Pro 7)
  2. slow Cache API responses (takes near one minute for caches.open("data-cache-v1") and also the cache.keys(), which returns 1k+ keys)
  3. 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)

No longer blocks: 1745178

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)

Uh, maybe the culprit is workbox-precache-v2-https://open.spotify.com/, which has 60,600 keys in the affected profile 🙂

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
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
Severity: -- → S3
Priority: -- → P3
Depends on: 1866240
Attachment #9385265 - Attachment is obsolete: true
See Also: → 1892936
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: