Open in the explorer

Set disk cache size in bytes

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Brave Software › Brave User Configuration › Policies › Administrative Templates › Brave Software › Brave
Supported on
Microsoft Windows 7 or later
ADMX file
brave.admx
Internal name
brave/DiskCacheSize

Explanation

Setting the policy to None has Brave use the default cache size for storing cached files on the disk. Users can't change it.

If you set the policy, Brave uses the cache size you provide—whether or not users specify the --disk-cache-size flag. (Values below a few megabytes are rounded up.)

If not set, Brave uses the default size. Users can change that setting using the --disk-cache-size flag.

Note: The value specified in this policy is used as a hint to various cache subsystems in the browser. Therefore the actual total disk consumption of all caches will be higher but within the same order of magnitude as the value specified.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\Brave
HKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: brave/DiskCacheSize
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set disk cache size
Set-ItemProperty -Path $k -Name 'DiskCacheSize' -Value 0 -Type DWord  # between 0 and 2000000000

Disable

# Disable: brave/DiskCacheSize
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": brave/DiskCacheSize
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'DiskCacheSize' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Set disk cache size:DiskCacheSizeNumeric boxdecimalDiskCacheSizeREG_DWORD
Min: 0 · Max: 2000000000

Application

Brave (Brave Software) — November 2026 templates

Official templates downloaded on November 12, 2026.