Library Table of Contents Index Previous Next Comments

Pointing Web browsers to an automatic proxy configuration file

Applicable NetCache mode  Top

An automatic proxy configuration file can only be used to direct requests nontransparently to NetCache appliances running as Web caches.

About the automatic proxy configuration file  Top

If you deploy transparent proxying, proxy service is available without any configuration of client Web browsers. However, if you are not using transparent proxying, you must configure client browsers so that client requests can be sent through the NetCache appliance. One way you can do this is to create an automatic proxy configuration file. An automatic proxy configuration file enables you to specify, in one place, the Web proxy configurations for your entire organization. Clients in your network must be configured to point to the file instead of to a specific Web cache. Thereafter, Web traffic is directed to the NetCache appliances identified in the file.

With an automatic proxy configuration file, you specify, in one place, the proxy configurations for your entire organization.

When to use this method  Top

Using an automatic proxy configuration file is the better of the two nontransparent client access methods that are available to you for Web caches. The other method, configuring Web browsers to point to a single NetCache appliance, has a number of disadvantages. Pointing Web browsers to a single NetCache appliance describes the limitations of that method.

Failover possible with the automatic proxy configuration file  Top

If you are using the automatic proxy configuration file for directing browsers to the NetCache appliance, you can include functions in the file for failover to another NetCache appliance or a third-party Web cache, the Internet, or both. Failover through an automatic proxy configuration file has the following limitations, however:

Setting up the file for request distribution  Top

If you are using the automatic proxy configuration file for directing Web browsers to a NetCache appliance, you can include multiple NetCache appliances in the file so that requests can be distributed among the appliances. The JavaScript function then uses a hashing function to distribute requests over the NetCache appliances and any third-party Web caches you specify. Request distribution through an automatic proxy configuration file has the following limitations, however:

Example of an automatic proxy configuration file  Top

The automatic proxy configuration file is described in detail in Appendix A, Automatic Proxy Configuration File. An example of a complete file is provided, as well as incomplete examples that highlight parts of the file. You can use the examples as a basis for creating your own file.

Advantages of using an automatic proxy configuration file  Top

This method has the following advantages in providing client access to the NetCache appliance:

Disadvantages of using an automatic proxy configuration file  Top

This method has the following disadvantages in providing client access to the NetCache appliance:

When this method is not recommended  Top

Network Appliance does not recommend that dial-up ISPs use an automatic proxy configuration file because of startup problems with some Web browsers. With some versions of Netscape Navigator and Microsoft Internet Explorer, the browser times out before a PPP session is established. The user then receives an error message that might be confusing.

Network Appliance's recommendation for dial-up ISPs is either to use transparent proxying or to start with an SLB and then move to the next generation of SLBs that help with partitioning. If you use an SLB instead of an automatic proxy configuration file, configure the Web browsers to point directly to the SLB.

If you are using an SLB to load balance across NetCache appliances, make sure that no routing loops exist.

Library Table of Contents Index Previous Next Comments