vscode
vscode copied to clipboard
Service worker cache grows extremely large
Does this issue occur when all extensions are disabled?: No, but it repros when working with extensions
- VS Code Version: 1.69-insider
- OS Version: Windows 10
Steps to Reproduce:
I don't have a very clear repro, but I've been developing a VS Code extension and noticed that there was 500GB worth of cache under C:\Users\<my user>\AppData\Roaming\Code - Insiders\Service Worker\CacheStorage
I've cleared it last week, and now I'm seeing it grow back relatively fast:
Examining the contents, I'm seeing some bundle files used for webviews. For reference, we are using several webviews with the retainContextWhenHidden
flag set to true, but I'm also not sure if the caching is just due to running local debug sessions. Would be nice to know what exactly is being cached here and how we can avoid this issue.
Looks possibly a duplicate of https://github.com/microsoft/vscode/issues/131226?
i have the same issue on macos, any solution to fix this issue?
Version: 1.69.0 (Universal)
Commit: 92d25e35d9bf1a6b16f7d0758f25d48ace11e5b9
Date: 2022-07-07T05:28:41.511Z (4 days ago)
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Darwin x64 20.6.0
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!