How the heck do I clear the cache?

Edit: I tried deleting History for the third time and it finally was deleted.

Now, how the heck do I keep it from building up to over three thousand entries again?

Edit: the history is History but the Brave cache entries keep showing up when I try to backup my data. How on Earth do I get rid of the blasted things.

Btw, I forgot to mention I’m in Linux Mint Cinnamon 19.3.

To clear all cache,

Brave Setting -> Privacy & Security -> Clear browsing data

Then select how much you want to clear. :slight_smile:

That’s what I’ve been doing and it doesn’t work! When I run my syncing program, the 2k+ entries are still there!

This is driving me insane! I can’t find the blasted things to get rid of them. Does anyone know how to get rid of the 2k + cache files and then how to keep them from piling up?

… Does anyone know how to get rid of the 2k + cache files…

Can you explain where you are seeing these files?

That’s part of the problem (btw, thanks for responding). I can’t find them in Linux itself. I didn’t even know they were there until I tried to do a backup of my /home partition using FreeFileSync (FFS).

When I installed Linux Mint, I put /home on its own partition to simplify backing up my data. I set up FFS to Mirror mode for the /home partition. It’s supposed to compare the files in /home on the computer with what is on the data backup drive. Since it is a first time backup, it will show a list of all the files in the /home partition. That’s when I discovered over 2, 0000 .cache files. Brave itself also had over 2,000 History files which are now gone, according to Brave, but they still show up in the /home partition on my computer in FFS.

Have you tried clearing data from all time? Default selection is Last hour

Can you post a screenshot of this and the path?

I’ve tried from All Time. It got rid of the history from within Brave but the cache files were still on my computer.

How do I post a screen shot?

Have a look at

As for the path to the cache, it should be in a hidden folder in your home directory called .cache. I don’t have my Mint box handy, just a Solus VM, but if you open your file navigation app (Files?), there should be options in the top part of the window.

If you’re using the GUI, you probably have to change its options to show hidden files. If you go into Terminal, you can type
cd ~/.cache/BraveSoftware/Brave-Browser/Default/Cache
and hit Enter/Return, then type
ls -al | more
to list the contents a screen at a time. To get out of the ls command, just do ctrl-C. To delete the contents of the Cache folder, type
rm *.*
and hit Enter/Return.
To get out of Terminal, type
and hit Enter/Return.

1 Like

That tells me how to make a screen shot. i already have a program in place for that. What I don’t know is how to post a screen shot.

Drag it into the text entry box. Or copy it to the clipboard then paste it. That’s how I’m doing this image of where Mint has the show hidden files option:

You can also click the little up arrow “Upload” icon in the toolbar to get a selection dialog box:

Here is an example of what shows up in FreeFileSync after I hit the Compare button.

1 Like

I just checked on my Mac and there’s a huge disparity between what Brave says I can clear from the cache (19.7MB) and what’s actually in the Cache folder (194MB, 3907 items). I’ve actually never used Brave’s clear cache feature, instead using CCleaner or the like in Windows and CleanMyMac on Mac. I’d say use the tool from your screenshot to select all the files in the cache and delete them.

To prevent it from getting big again, well, I’m experimenting with using a Chrome command that you can add to a symbolic link to Brave. On the Mac I navigated to the application and used
"Brave Browser Nightly" --disk-cache-size=52428800
I’ll follow up with results, hopefully in Mint if I have a chance to get my Mint box going, again.

It worked! Sweet! It goes over 50MB slightly, then erases some stuff to go below, etc. I found that here.

Apparently, Chromium has a file you can add the switch to in etc according to this post, which says:

In Chromium I can add this line to /etc/chromium-browser/default to limit cache on my ssd:

CHROMIUM_FLAGS="–disk-cache-dir=/dev/null --disk-cache-size=1 --media-cache-size=1"

If a similar file is present for Brave, one could maybe add the same type of commands there instead of adding it to a launching link.

How do I get to the place for clearing cache and cookies and whatever else is available? Icannot find a place to ask questions nor an email address to send to. Just downloaded this browser an hour or so ago and starting already to pull my hair. I’m using Windows 7 on a desktop.

Use CCleaner @Lupian So much easier and it’ll cleanup your system too. download

Thank you for replying! I have CC but don’t like it. I do not wish to remove everything - want to remove individual cookies, etc, typical of the Tools in FireFox.

How to open the page that does these things in Brave?

Go to Settings (top right) -> More Tools -> clear Browsing Data

Whoaaa! There is supposed to be a “Settings” area? I would have fumbled my way to the right place if I had a Settings, which I do not. There is nothing on top of this browser except the pages I have opened.

Did someone slip me a copy that had been out too late on Friday night?