I have got Mozilla Firefox installed, and am aware of the issues with nasty things like phishing scripts from images ending up in my browser's cache. And so that I don't have to just empty my cache all the time, I would like to know of its location in my computer.
I have noticed that there appears to be some sort of area for caching here:
~/.cache/mozilla/firefox/k29gs42c.default
And that there also seem to be some Mozilla Firefox related files here:
~/.mozilla/firefox
So which one of these is it? Or is there a different area for caching? Or different caches? For greater efficiency when scanning the caching areas, I would prefer to know exactly which top level directory only contains caching areas, so that I do not scan anything which is non-cache related.
Expanding of question:
I have looked at the questions which are possible duplicates of this in the comments, but then I also ask, what are these other locations with cache
in their names then located in ~/.cache/mozilla/firefox/k29gs42c.default
?:
Cache
cache2
OfflineCache
startupCache
What are these if not some sorts of caches? And if they are so, should I not also scan them? Or are their purposes different and thus would not possibly contain any contents from websites?
OS Information:
Description: Ubuntu 15.04
Release: 15.04
Package Information:
firefox:
Installed: 37.0.2+build1-0ubuntu0.15.04.1
Candidate: 37.0.2+build1-0ubuntu0.15.04.1
Version table:
*** 37.0.2+build1-0ubuntu0.15.04.1 0
500 http://gb.archive.ubuntu.com/ubuntu/ vivid-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu/ vivid-security/main amd64 Packages
100 /var/lib/dpkg/status
37.0+build2-0ubuntu1 0
500 http://gb.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
Best Answer
.mozilla/firefox
directory contains the settings and extensions. Here's output of mine:The other directory actually contains different types of cache, as wie5Ooma already mentioned.
So if something would be going wrong, you'd might want to try altering or deleting completely whatever is in
~/.mozilla/firefox/
to restore settings to default.There is also cache in
.macromedia/Flash_Player\#SharedObjects/
which belongs to flash player if you use that, likes.ytimg.com
from youtube.