Hi,
We use a WPAD file hosted on a Websense appliance and use IE11 on Windows 7 x64.
We are seeing some performance issues with the Websense delivery of WPAD and have discovered that every computer is making a large amount of calls to the websense appliance to retrieve WPAD.dat. (Up to 1000 per machine in some cases)
We have worked with Websense and found that they were returning a 'no-cache' option in the WPAD response header. Via a patch we have had this removed.
However I still can't find a cached WPAD file on my machine that I am using for testing and have checked all the registry entries I can think of related to caching.
Does anyone have any ideas?
For reference, the WPAD.dat is (edited of course):
//
// Start of Script
function FindProxyForURL(url, host)
{
// Convert everything to lower case
var lhost = host.toLowerCase();
host = lhost;
//Local Networking Match
if (isPlainHostName(host) ||
shExpMatch(host, "localhost.*") ||
shExpMatch(host, "*.ourdomain.net") ||
shExpMatch(host, "*.local") ||
isInNet(dnsResolve(host), "127.0.0.0", "255.0.0.0") ||
isInNet(dnsResolve(host), "10.0.0.0", "255.0.0.0") ||
isInNet(dnsResolve(host), "172.16.0.0", "255.240.0.0") ||
isInNet(dnsResolve(host), "192.168.0.0", "255.255.0.0"))
return "DIRECT";
//Host Matching
if (dnsDomainIs(host, "*.partnerdomain1.com") ||
dnsDomainIs(host, "*.partnerdomain2.com") ||
dnsDomainIs(host, "*.ourdomain.net") ||)
return "DIRECT";
//Expression Matching
//if (shExpMatch(url, "*ourintranet.net"))
//return "DIRECT";
// Default - Use Proxy
return "PROXY proxy.ourdomain.net:8080";
}
// End of function
We use DNS to point proxy.ourdomain.net to the Websense appliance.
Any suggestions / ideas welcomed.