Open in the explorer

Set application cache storage limits for individual domains

Définir les limites de stockage de cache d’application pour des domaines individuels

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › General Page › Browsing History User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › General Page › Browsing History FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Général › Historique de navigationFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Général › Historique de navigation
Supported on
At least Internet Explorer 10.0 FR: Au moins Internet Explorer 10.0
ADMX file
inetres.admx
Internal name
inetres/AppCache_MaxTrustedDomainLimitInMB

Explanation

This policy setting sets file storage limits for application caches of websites that have been allowed to exceed their storage limit. The “Set default storage limits for websites” policy setting sets the data storage limits for application caches. If a domain exceeds the application cache storage limit for an individual domain, Internet Explorer sends an error to the website. No notification will be displayed to the user. This group policy sets the maximum file storage limit for domains that are trusted by users. When you set this policy setting, you provide the cache limit, in MB. The default is 50 MB.

If you enable this policy setting, Internet Explorer will allow trusted domains to store additional files in application caches, up to the limit set in this policy setting.

If you disable or do not configure this policy setting, Internet Explorer will use the default maximum storage limit for all application caches. The default is 50 MB.

French text from Windows 11 26H2

Ce paramètre de stratégie définit les limites de stockage de fichiers pour les caches d’applications des sites Web autorisés à dépasser leur limite de stockage. Le paramètre de stratégie « Définir les limites de stockage par défaut pour les sites Web » définit les limites de stockage de données pour les caches d’applications. Si la limite de stockage des caches d’applications est dépassée pour un domaine spécifique, Internet Explorer envoie une erreur au site Web. Aucune notification ne s’affiche pour l’utilisateur. Ce paramètre de stratégie de groupe définit la limite maximale de stockage de fichiers pour les domaines approuvés par les utilisateurs. Lorsque vous définissez ce paramètre de stratégie, vous indiquez la limite du cache en Mo. La valeur par défaut est 50 Mo.

Si vous activez ce paramètre de stratégie, Internet Explorer autorise les domaines approuvés à stocker des fichiers supplémentaires dans les caches d’applications, jusqu’à la limite définie dans ce paramètre de stratégie.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Internet Explorer utilise la limite de stockage maximale par défaut pour tous les caches d’applications. La valeur par défaut est 50 Mo.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache
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: inetres/AppCache_MaxTrustedDomainLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Domain Storage Limit
Set-ItemProperty -Path $k -Name 'MaxTrustedDomainLimitInMB' -Value 50 -Type DWord  # between 1 and 9999

Disable

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

Revert to "Not configured"

# Revert to "Not configured": inetres/AppCache_MaxTrustedDomainLimitInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
Remove-ItemProperty -Path $k -Name 'MaxTrustedDomainLimitInMB' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Domain Storage LimitLimite de stockage du domaineAppCache_MaxTrustedDomainLimitInMBPartNumeric boxdecimalMaxTrustedDomainLimitInMBREG_DWORD
Required · Min: 1 · Max: 9999 · Default (UI): 50

Availability