[App Sharing] 深度商店巨量垃圾图标缓存位置
Tofloor
poster avatar
神末shenmo
Moderator
Spark-App
2022-10-11 21:04
Author

~/.local/share/deepin/deepin-app-store/image

我这里已经攒了600M的垃圾图标了

图片.png

Reply Favorite View the author
All Replies
绍贝格尔
deepin
2022-10-11 21:11
#1

我522兆

Reply View the author
璀璨星空
deepin
2022-10-11 21:19
#2

为啥不能像星火一样关机自动清理

Reply View the author
liwl
deepin
2022-10-11 22:00
#3

like 瘦身

Reply View the author
xtxbyj
deepin
2022-10-11 22:02
#4

不查不知道,一查吓一跳

image.png

Reply View the author
wcs4221
deepin beta test group
2022-10-11 22:08
#5

的确是这样。是否要加以自行处理的优化?

Reply View the author
xtxbyj
deepin
2022-10-11 22:23
#6

这些能删除吗

Reply View the author
神末shenmo
Moderator
Spark-App
2022-10-11 22:31
#7
xtxbyj

这些能删除吗

删了下次启动他会自动创建,不过一下子不会有那么多

Reply View the author
神末shenmo
Moderator
Spark-App
2022-10-11 22:31
#8
wcs4221

的确是这样。是否要加以自行处理的优化?

没法处理,如果把这个删了商店就不能显示图标了

Reply View the author
ThinkYoung
deepin
2022-10-12 00:21
#9

大佬们,谁放个关机清理脚本出来呀?

Reply View the author
ThinkYoung
deepin
2022-10-12 00:26
#10

建议官方优先使用svg! 减小png的体积!

能不能考虑 图标挂载到memfs之类的 关机自动清除的

或者可以设置软件退出自动清理下图标缓存!

Reply View the author
173******47
deepin
2022-10-12 02:52
#11

sudo apt purge deepin-app-store,解决你的烦恼,安装程序直接用命令就行了,商店怎么改版都占内存,还有deepin-manual也是,都可以不要

Reply View the author
vivian_me
deepin testing team
2022-10-12 17:56
#12
  • 当前商店是这样设计的
  • 缓存的是商店的首页信息,每打开一个新的页面都会下载当前页面的所有缓存,避免下次打开需要重新下载,也是考虑到了性能这块,避免过长的加载时间
Reply View the author
ThinkYoung
deepin
2022-10-12 22:40
#13

图标缓存设计上大致没问题

我把文件夹清理干净测试,所有分类图标全拉满,不看预览,所以全是图标

总大小97.8M,总个数2532

图标400K~1.1MB以上29个,这些还可以压一压大概18MB

SVG图标1106 约占一半,这个方向还可以继续努力哦!

总体合理!

但是在测试之前 预览图是与图标混放的,可以考虑预览图另存放 不缓存 或 清理!

我想超体积主要原因在预览图这块,预览图缓存对用户意义不大,

所以图标缓存并不大,请再次帮确定,十分感谢!

Reply View the author