Neil A. Hillard wrote:
>Hi,
>
>
>
>>So far I have the following in a file called proxy.pac. It doesn't disable
>>the cache for local browsing.
>>
>>function FindProxyForURL(url, host)
>>{
>>return "PROXY 192.168.2.33:3128; DIRECT";
>>}
>>
>>I'd like to disable the cache for all hosts from 192.168.2.0 - 192.168.2.40.
>>My squid server is on 192.168.2.33.
>>
>>
>I suspect that the following will work for you (I'm guessing that you're
>on a /24 network, if not, you'll have to adjust the netmask):
>
>function FindProxyForURL(url, host)
>{
> if (isInNet(host, "192.168.2.0", "255.255.255.0"))
> {
> return "DIRECT";
> }
> else
> {
> return "PROXY 192.168.2.33:3128";
> }
>}
>
>
I also did this one @work, but the answer times to the request increase
incedible. Most increase is noticable with Netscape 4.7 / Mozilla.
Internet Explorer slows down, too. But not as hard as the Mozilla
Familiy. I guess it has something to do with Resolving the name from the
proxy-requests. The Cache @work only works as a child to a parent and
has no possibility to connect directly to the internet or to to resolve
hostnames outside the local net.
Does someone have a solvation for this ?
Peter Lustig
>
>
>>Can somebody enlighten me or refer me to a decent web page?
>>
>>
>Try http://developer.netscape.com/docs/manuals/proxy/adminux/autoconf.htm
>
>HTH,
>
>
> Neil.
>
>
>
Received on Thu Apr 24 2003 - 07:54:39 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:24 MST