Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PAC

A Proxy Auto-Configuration file (PAC file) is a file which contains a function, FindProxyForURL(), which is used by the browser to determine whether requests (including HTTP, HTTPS, and FTP) should go directly to the destination or if they need to be forwarded through a web proxy server.

function FindProxyForURL(url, host) {
  /* ... */
}        

ret = FindProxyForURL(url, host)

See Proxy Auto-Configuration (PAC) file for details about how these are used and how to create new ones.

Learn more

General knowledge

  • PAC on Wikipedia

Technical reference

Document Tags and Contributors

 Contributors to this page: Sheppy, klez, duncanmcdonald
 Last updated by: Sheppy,