What's ./.cache/mozila/abrowser... ?

11 réponses [Dernière contribution]
GrevenGull
Hors ligne
A rejoint: 12/18/2017

Title

fbit

I am a member!

Hors ligne
A rejoint: 07/07/2013

Abrowser's web cache* folder.

*https://en.wikipedia.org/wiki/Web_cache

Edit:

By the way, it is actually in:

~/.cache/...

Where the tilde (~) stands for your home directory, usually full path at /home/yourname/

GrevenGull
Hors ligne
A rejoint: 12/18/2017

Yeah, you would think.

But when I am working in my home (~) directory and run the $ ls command, there is no output called ".cache".
Also, when I'm accessing my home folder in the MATE GUI, I can't find it there either.
Am I missing something here?

fbit

I am a member!

Hors ligne
A rejoint: 07/07/2013

Every file and directory that starts with a period (.) is hidden.

You can see the hidden files and directories by typing:

$ ls -a

In the mate file manager there must be an option somewhere in preferences to make hidden files and folders visible.

GrevenGull
Hors ligne
A rejoint: 12/18/2017

Aha, why are they hidden though?

Edit

I think I figured out the reason using the SearX search engine:

https://unix.stackexchange.com/questions/147859/why-are-some-files-and-folders-hidden

But is it safe to remove all the cache stuff inside .cache and .mozilla?

SuperTramp83

I am a translator!

Hors ligne
A rejoint: 10/31/2014

>But is it safe to remove all the cache stuff inside .cache and .mozilla?

Yes

Actually, wait.. It is safe to purge the ~/.cache folder, but if you are also thinking about purging the ~/.mozilla folder then you will find your Abrowser was reset to its defaults, that is every addon and every setting is gone. But yeah, it is 'safe' to remove.

GrevenGull
Hors ligne
A rejoint: 12/18/2017

Aha, thanks for the enlightenment

GrevenGull
Hors ligne
A rejoint: 12/18/2017

How do I "put .cache on tmpfs"?
And how do I disable disk caching through about:config?:p

onpon4
Hors ligne
A rejoint: 05/30/2012

> Aha, why are they hidden though?

Directories like this are hidden because there is typically no reason for the user to interact with them, so having them visible would just be an unnecessary annoyance.

Or if you're looking for the technical answer, it's because the file name starts with ".". Files whose name starts with a dot are treated as hidden by convention in POSIX systems. Legend has it that this convention arose due to a bug in Unix's "ls" command that stemmed from a feature that was intended to hide "." and ".." (special file names meaning "the current working directory" and "the parent of the current working directory). It turned out to be useful to be able to hide a file by simply preceding its name with a dot, so it was kept as a feature. Or so they say.

SuperTramp83

I am a translator!

Hors ligne
A rejoint: 10/31/2014

>And how do I disable disk caching through about:config?

Write 'about:config' in the URL bar

Set the following values:

browser.cache.disk.enable , false
browser.cache.disk.smart_size.enabled , false
browser.cache.disk.capacity , 0