如何防止 MSIE 8 重新載入 PAC 檔案?

如何防止 MSIE 8 重新載入 PAC 檔案?

如標題所說。我需要阻止 IE 8 在瀏覽器發出的每個請求時重新載入 PAC 檔案。

我只要求每個會話加載一次。

答案1

預設情況下,IE 應快取每個伺服器/主機的 PAC 結果,並且僅應在解析未在該會話中與之通訊的主機時重新載入 PAC 文件,而不應在每個請求上載入它。

控制是否按主機快取結果的登錄項目是:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
Value: EnableAutoproxyResultCache
Type: REG_DWORD
Data value: 0 = disable caching; 1 (or key not present) = enable automatic proxy caching (this is the default behavior)

或者您可以透過以下設定透過群組原則來控制它:

User Configuration\Administrative Templates\Windows Components\Internet Explorer
Disable caching of Auto-Proxy scripts

相關內容