Is it good to delete all the files in
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The cache folder is a place programs stored data they may need again, it is kept for speed but is not essential to keep. It can be generated again or downloaded again (depending on the data and the program).
If your hard drive is really filling up it may be worth checking the
.cache folder but it is unlikely to be too huge. If it gets too big you can delete things without worrying. But probably if a GB or 2 is having a significant effect on your performance you may need to consider moving other files or getting more storage.
As you can deduct from its name, it's a cache. Deleting its content doesn't harm your system.
I've removed my cache folder many times without any problems.
At the latest after a new login, everything is back to normal.
But you will notice an increased activity of your system because the cache of the various programs will be recreated.