I also notice this isn't specific to ~/.cache but any hidden file or folder in your home directory so this will probably be a problem for many apps (off the top of my head I can think of cargo, pip, and many games, or game apps like PoL, Lutris, Steam, that install their documentation in dot directories). And working on projects where I need to view .html files, even inside my home folder (but in dot folders), has been a huge headache.
I also notice this isn't specific to ~/.cache but any hidden file or folder in your home directory so this will probably be a problem for many apps (off the top of my head I can think of cargo, pip, and many games, or game apps like PoL, Lutris, Steam, that install their documentation in dot directories). And working on projects where I need to view .html files, even inside my home folder (but in dot folders), has been a huge headache.