Server cache folder

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?

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

I’ve tried restarting the docker itself, even with the new versions it doesn’t remove those.

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.

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.

Did you report it?

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…