When I use disk usage analyzer and scan my home folder .cache always shows up with a decent bit of things in it. Would it be okay for me to delete the contents of this folder or would it damage something?
To answer the question, IMO you can delete all of
Another directory that can take up a lot of space (and/or save an embarrassing bit of evidence) is the
To clean (just take care with the
When you are new to Ubuntu/Linux it is hard to know what you can and can not delete in your home directory. For the most part you can delete most anything in your home directory, programs or applications that require
Most of the time, at worst, you will loose custom configurations, but no real harm to the system.
I would not advise you start a habit of deleting things you do not understand in your home directory, back it up or use a test account. If in doubt, the safe thing would be to make a back up or move the file.
You can then restore from backup if needed.
Definitely do NOT start deleting things you do not understand outside of your home directory.
It is generally safe to delete it. You might want to close all graphical applications (e.g. banshee, rhythmbox, vlc, software-center, ..) to prevent any confusion of the programs accessing the cache (where did my file go all of a sudden!?).
It can easily have a size of 100+ MB, so if you want to free up disk space, do it.
Another thing to keep in mind: removing an application does not necessarily delete the relevant ~/.cache/removed_prog folder; in this case those files just take space and are not used. Those can definitely be deleted.
I would recommend not deleting it. I am not a Linux expert (though I hope to be!) and don't know the specifics of the file system structure, but you can examine what exactly is in the folder by going into your home folder and hitting ctrl+h to show hidden folders. You can then go in the .cache folder and see what's in there.
Just from a quick peek on my system I know that banshee stores album art in the cache folder (don't know why exactly), chrome has data in the cache folder, a lot of programs keep logs in the .cache folder, and other stuff.
I am not sure if these files are all just there temporarily for speed increase purposes (like browser cache) or if this "cache" contains files for some other purpose (as the speed increase of browser cache is to counteract excessive use of bandwidth by re-accessing files on a server, whereas there should be no discernible difference in r/w times for a different file location on the hard disk).
I hope someone knows more about this than I do and can give you a better response.