[Usecase] Keep Chrome from needlessly chewing up GBs of worthless cache files
- 主要语言
- C
- 星标
- 319
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
描述
## HowTo
sudo modprobe nullfs
sudo mkdir -p /media/sinkhole
sudo mount -t nullfs none /media/sinkhole
rm -rvf ~/.cache/{chromium,google-chrome}/Default/Cache
ln -s /media/sinkhole ~/.cache/chromium/Default/Cache
ln -s /media/sinkhole ~/.cache/google-chrome/Cache
## Before
$ du -h ~/.cache/chromium/Default/Cache/;
747M /home/tsmith/.cache/chromium/Default/Cache/
458M /home/tsmith/.cache/google-chrome/Default/Cache/
1.2G total
## After
0 /home/tsmith/.cache/chromium/Default/Cache/
0 /home/tsmith/.cache/google-chrome/Default/Cache/
0 total
It also will save on SSD wear-and-tear, and you won't even notice a performance drag as everything's stored in memory anyway.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。