How to disable cache in brave?

privacy
#1

Hi just wondering if anyone knows how to disable cache or thumbnail cache in brave browser Version 0.60.47 Chromium: 72.0.3626.119 (Official Build) (64-bit)? I know of the disable checkbox in developer tools… and wasn’t thinking of using tor private tab or whatever. Just wanted to know how to do this in general usage? I’m on linux Feren OS 64bit.

#2

Hi, you could use incognito mode or tor mode.

Both can be accessed via the menu (the 3 bars) in the upper right corner, then the mentioned modes are at the 3rd and 4th position in the list.

#3

Hi, thanks for reply… I already know that, hence mentioning it in my own post above there. I could also just download TOR browser itself and never need Brave browser at all. I meant “in general” to disable it totally in Brave, Chromium, SRW Iron, etc … like change write permissions on cache directory in Windows or Linux etc… Directions to do so? Or would be nice if it’s built-in to Brave… cause Brave doesn’t even show up in ccleaner. So only way to clear cache is in Brave’s privacy cleaner.

#4

@matteopa,
We’re about to push a Clear data on exit function down the pipeline - once available, you can enable this setting so that your browser cache is cleared every time you exit Brave.

Alternatively and/or in the meantime, you can tell ccCleaner to check custom files/folders in Settings for the app. I would point it to the top most BraveSoftware directory on your machine - likely ~/.config/BraveSoftware - and include it in the list of paths to clean.

#5

Can’t wait, that will be an awesome feature to have and use! :slight_smile:

Thanks Mattches, will try that! But since the first post I dropped Feren OS and went back to Windows 7 64bit. I was having too many issues with Feren OS that I got fed up with it lol. So for Windows 7 64 bit, just pick the cache folder in Windows 7 right? Or whole folder in C:\users\myuser\appdata\local\bravestuff ?

1 Like
#6

C:\users\myuser\appdata\local\bravestuff

:point_up: This should be fine.
Out of curiosity, is the folder actually named bravestuff? If so, are you having any other issues with brave and/or browsing data? I ask because, I don’t think it’s an issue but I know that Brave is picky about directory names in some cases.

1 Like
#7

Thanks for reply… And no I just called it that for generalization lol. The brave location is the following:
C:\Users\myuser\AppData\Local\BraveSoftware\Brave-Browser\User Data

and no issues with Brave at moment. So confused as to why so many Windows users have various issues.

1 Like
#8

You’re tellin me!

And that’s great - just wanted to make sure. I’m going to leave this Topic open - would you mind responding and letting me know whether or not this was successful when running ccCleaner next?

#9

Thanks, and will do! I’m currently watching movie online and eating so will try it a bit later on. I’ve always used Brave on Windows 7 64bit and never had issues with it. Of course some porn sites would try and install malware or whatever but Avast prevented that lol. Haha. But there again, that’s NOT Brave’s fault… Lol

1 Like
#10

@Mattches replying back to confirm some stuff… is it this folder as well as cache folder or ?

C:\Users\myuser\AppData\Local\BraveSoftware\Brave-Browser\User Data\ShaderCache\GPUCache

C:\Users\myuser\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\Cache

Cause I can only add the one not both. Or just select the whole folder… Cause there’s also this one as well.

C:\Users\myuser\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default\GPUCache

Under this one:

C:\Users\myuser\AppData\Local\BraveSoftware\Brave-Browser\User Data\Default

I see folders for “media cache”, “thumbnails”, “GPUCache”, “Cache”, “Code Cache”, etc.

1 Like
#12

Is it possible to technically make limits for each site, how much cache can save and automatically delete it when the site reaches this limit, or prohibit some sites except exceptions to save the cache at all?

this very good for desktop and ssd hd

#13

Yeah, with Brave being a privacy focused browser, maybe Brave can be the first to allow ALL cache be disabled if you want it. Cause the cache of a browser is another main focus point for privacy for users.

There’s times I’ve done Ccleaner and thought I got all the cache / thumbnail caches cleared out, ran a bat file to clear all known thumbnail caches, and used TFC temp cleaner… and ran PhotoRec and STILL recovered many cached thumbnails.

And I even did a wipe of free space with File Shredder /CCleaner as well and STILL was finding thumbnail caches with PhotoRec. So some where, some how, there were thumbnail caches lingering in Windows 7 and I couldn’t find them at all. I even tried searching the whole disk for “.jpg” or “.jpeg”, etc… and with the temp cleaners etc and couldn’t find them either. But they were still there some where.

Not sure where they were being stored, so I had no choice but to DBAN the whole drive and install an OS again.

1 Like
#14

%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA

Deactivate Brave cache by changing the shortcut properties

Right-click on the Brave icon and select “Properties” in the context menu. Add following value to the path: --disk-cache-size=1

"C:\Program Files (x86)\BraveSoftware\Brave-Browser-Dev\Application\brave.exe" --disable-application-cache --media-cache-size=1 --disk-cache-size=1 -- "%1"

#15

Thanks for this! Curious though, if I make those changes in Program Files (x86) directory does it matter about desktop shortcut? Or delete current desktop short, then make those changes you provide above and create new desktop shortcut?

1 Like
#16

you need root for change desktop shortcut then any variants work i think. also you can ad in registry this line but i think shortcut do all work.

you can check this on page
brave://version/

#17

Alright thanks, I changed it to desktop shortcut, closed brave, reopened brave and shows that in my “brave://version” command line section too.

1 Like
#18

@matteopa, sorry for the late response.
To answer your question from above, I would just point to the whole directory to be safe.
Did @tagd0tbutl0t’s solution work for you?

#19

Yeah, that’s what I was wondering specifically, which folder name/directory. But I tried two different directory paths and it deleted everything. Bookmarks, extensions, etc. And still had some cookies /cache images there. I wouldn’t recommend doing this for anyone else. Thank God I had a back up of my bookmarks (saved to computer) before doing this Lol! It basically reset the Brave browser back to state after you freshly install it. Welcome screen is back, default search Google is back when I had DuckDuckGo set as default before, no bookmarks, no extensions, etc.

Not sure about his recommendation though, cause I didn’t download photorec and etc on this computer yet to try it. But will then. :slight_smile:

#20

Alright reporting back on @tagd0tbutl0t suggestion /tip, I did that 16 hours ago. Hadn’t viewed a couple porn sites until just now after running bat file to clear thumbnails in Windows 7, ran TFC temp cleaner, ran CCleaner twice with the Brave directories included and had Brave reset back to square one again. Had also dban’d this drive fresh just other day and installed Windows 7 back on here again.

I didn’t wipe free space though since using Brave for normal sites and the two porn sites today. But tagd0tbutl0t’s tip is still part of Brave and PhotoRec is still finding thumbnails of the girls from their imagefap albums (nude selfies) etc. Which I assume means that cache is still being written to Brave cache yet.

I’m going to try this once and see how good it cleans cache and wipe free space once as well… and see if PhotoRec recovers the same stuff again.

#21

you do no so. this options i official options chromium and they disable only media cache, is nice for ssd hd, because browser no replies ssd hard when want use cache, and disk of it better.