Internet-Explorer

如何防止 MSIE 8 重新載入 PAC 文件?

  • January 28, 2010

正是標題所說的。我需要阻止 IE 8 在瀏覽器發出的每個請求上重新載入 PAC 文件。

我只要求它在每個會話中載入一次。

預設情況下,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

引用自:https://serverfault.com/questions/107086