Billos1
(Brendan Goubin)
April 20, 2025, 4:02pm
1
Hello,
I’ve recently been exploring the folders of my Home Assistant, and found the .cache folder that keeps getting bigger.
myuser:/config/.cache# du -d1 -h
1.2M ./wheels
783.1M ./http-v2
8.0K ./selfcheck
784.3M .
Can I safely remove those folders ?
Thanks !
Honestly, I think you’re just looking for a problem to fix, when the problem doesn’t exist in the first place.
Rather than delete the entire folders, why not try rebooting (not restarting) your entire HA instance and seeing if your cache goes down?
Billos1
(Brendan Goubin)
April 20, 2025, 7:03pm
3
I’m running a docker, is there a difference between restarting and rebooting for a docker ?
Reboot the entire host, or just your HA docker instance from within the host.
I don’t use docker, so can’t be more specific, sorry
Billos1
(Brendan Goubin)
April 20, 2025, 7:40pm
5
I’ve tried restarting the docker itself, even with the new versions it doesn’t remove those.
Billos1
(Brendan Goubin)
April 20, 2025, 8:04pm
6
I’ve renamed the folder .cache
to .cache.old
and restarted the docker.
I’ll let this go before deleting completely the folder but it seems to be ok.
Manually deleting the cache will cause TTS’s that are repeats to fail sometimes. Things like if you say someone is at the door in an automation or something, those will not be happy.
I tried deleting mine and now I don’t.
I suggest just let HA manage it.
tom_l
April 21, 2025, 2:35am
8
It shouldn’t. it should just take slightly longer to process next time.
Well it did.
Using cloud NC TTS… Some came up as error instead of building the cache over.
Since I was kinda messing with it I felt by deleting the cache files manually, and bc deleting the files wasn’t necessary, no. I just chalked it up as expected mystical behavior and went on with life…