![]() | 1 AndrewHenry 2023-05-20 17:01:06 +08:00 可能你用的挺多,我每天都在高频度用文件夹才 1.70 GB (1,831,153,664 字节) |
![]() | 2 luojianxhlxt 2023-05-20 17:25:34 +08:00 我只用 edge ,目前 2.54G 。都是 Chromium ,谁比谁能好到哪。。 |
3 Remember 2023-05-20 17:28:13 +08:00 cache 大小是可以设置的,哪怕没开放给用户设置,编译的时候也有个默认值的。 |
![]() | 4 xiaocsl 2023-05-20 18:52:33 +08:00 Service Worker 文件夹下的..是有 chrome 打开过滥用 Service Worker 的网站? |
![]() | 5 MXMIS 2023-05-20 19:12:40 +08:00 我的 Edge 占用 4G |
6 wuzhewuyou 2023-05-20 19:21:54 +08:00 via Android 直接扔内存盘就完事了 |
![]() |   7 bingdong700 OP @xiaocsl 比如呢?我也不知道哪些网站滥用啊 |
![]() | 8 xiaocsl 2023-05-20 22:12:34 +08:00 ![]() @bingdong700 不清楚有没有现成的工具.. chrome://serviceworker-internals/ 这里可以看当前注册的所有 sw . 然后对应网址打开的 开发者工具 > 应用 > 存储 能看到网站占用的各种缓存大小 |
![]() | 9 bingdong700 OP @xiaocsl 我的 chrome 里面有四百多条记录, Service Worker\CacheStorage\*(很多文件夹) 根据手动删除文件夹来判断,最大文件夹的对应的是 web.telegram.org 有什么办法控制上限值么? |
![]() | 10 xiaocsl 2023-05-21 12:11:11 +08:00 @bingdong700 #9 Service Worker 记忆中是根据硬盘剩余空间按百分比来,好像没太好的能永久一键设置的地方. 我能想到的解决方案就是,写个油猴脚本,注入个脚本,定期取消注册对应网站的 Service Worker . chatGPT 写的.. ```Javascript // ==UserScript== // @name Disable Service Worker for web.telegram // @namespace http://tampermonkey.net/ // @version 1.0 // @description Disable Service Worker for web.telegram when the website is closed // @author Your name // @match https://web.telegram.org/* // @grant none // ==/UserScript== // Listen to the beforeunload event when the website is closed window.addEventListener('beforeunload', function() { // Get all the registered Service Workers navigator.serviceWorker.getRegistrations().then(function(registrations) { // Loop through the registrations and unregister them for(let registration of registrations) { registration.unregister(); } }); }); ``` |
![]() | 11 bingdong700 OP @xiaocsl 谢谢你 |
![]() | 12 jiyan5 2023-06-02 15:59:47 +08:00 chrome 用户比较多, 账号之前也退出过, 又重新登陆了, 怎么找到登录账号的那个用户呢 |