Set maximum application cache individual resource size
Définir la taille maximale des ressources individuelles du cache d’application
Explanation
This policy setting sets the maximum size for an individual resource file contained in a manifest file. The manifest file is used to create the application cache. If any file in the manifest exceeds the allowed size, Internet Explorer sends an error to the website. No notification will be displayed to the user. When you set this policy setting, you provide the resource size limit, in MB. The default is 50 MB.
If you enable this policy setting, Internet Explorer will allow the creation of application caches whose individual manifest file entries are less than or equal to the size set in this policy setting.
If you disable or do not configure this policy setting, Internet Explorer will use the default application cache individual resource size for all application caches resources. The default is 50 MB.
Ce paramètre de stratégie définit la taille maximale d’un fichier de ressources individuel contenu dans un fichier manifeste. Le fichier manifeste sert à créer le cache d’application. Si un fichier du manifeste dépasse la taille autorisée, Internet Explorer envoie une erreur au site Web. Aucune notification ne s’affiche pour l’utilisateur. Lorsque vous définissez ce paramètre de stratégie, vous indiquez la limite de la taille des ressources en Mo. La valeur par défaut est 50 Mo.
Si vous activez ce paramètre de stratégie, Internet Explorer autorise la création de caches d’applications dont le nombre d’entrées de fichier manifeste individuel est inférieur ou égal à la taille définie par 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 taille maximale des ressources individuelles du cache d’application 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\AppCacheHKEY_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_ManifestSingleResourceQuotaInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Maximum resource size
Set-ItemProperty -Path $k -Name 'ManifestSingleResourceQuotaInMB' -Value 50 -Type DWord # between 0 and 99999Disable
# Disable: inetres/AppCache_ManifestSingleResourceQuotaInMB
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/AppCache_ManifestSingleResourceQuotaInMB
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserStorage\AppCache'
Remove-ItemProperty -Path $k -Name 'ManifestSingleResourceQuotaInMB' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Maximum resource sizeTaille maximale des ressourcesAppCache_ManifestSingleResourceQuotaInMBPart | Numeric boxdecimal | ManifestSingleResourceQuotaInMB | REG_DWORD | Required · Min: 0 · Max: 99999 · Default (UI): 50 |