Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does it occupy so much storage space #89

Open
holidaypenguin opened this issue Aug 12, 2022 · 4 comments
Open

Why does it occupy so much storage space #89

holidaypenguin opened this issue Aug 12, 2022 · 4 comments
Labels
feedback Feedback about an existing DevTools feature

Comments

@holidaypenguin
Copy link

image

@holidaypenguin holidaypenguin added the bug Something isn't working label Aug 12, 2022
@holidaypenguin
Copy link
Author

Can I delete it directly

@captainbrosset captainbrosset added feedback Feedback about an existing DevTools feature and removed bug Something isn't working labels Aug 16, 2022
@captainbrosset
Copy link
Contributor

Thanks for reaching out. This will need some investigation, so we'll get back to this issue when we know more.

@robpaveza
Copy link
Contributor

Hi @holidaypenguin -- can you try looking for a command in the Command Palette called "Clear source maps cache"? (I'm not sure what the translation would look like).

image

DevTools caches loaded source maps for about 30 days. It should not be unbounded growth, however -- total web storage is supposed to be limited to ~50% of available disk space, and 15% of the total budget per web origin, if I recall correctly.

@robpaveza
Copy link
Contributor

We just checked in a change that will do two things:

  • Fixed a bug that the eviction wasn't happening as expected. (really, at all).
  • Avoided caching source maps originating from localhost

This will be present in a forthcoming version of Edge Canary and will eventually propagate up to Stable in version 106. Once it's baked for a few days, we'll consider backporting it to Edge 104 and 105.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback Feedback about an existing DevTools feature
Projects
None yet
Development

No branches or pull requests

3 participants