The parent.config file identifies the HTTP parent proxies used in an HTTP cache hierarchy. Use this file to perform the following configuration:
Each line in the parent.config file must contain a parent caching rule. Content Gateway recognizes three space-delimited tags:
Secondary specifiers are optional in the parent.config file. The following table lists the possible secondary specifiers and their allowed values.
|
|
|
|
|
|
true - Content Gateway goes through the parent cache list in a round-robin based on client IP address.
|
|
strict - Content Gateway machines serve requests strictly in turn. For example, machine proxy1 serves the first request, proxy2 serves the second request, and so on.
|
|
false - round-robin selection does not occur.
|
|
|
|
true - requests bypass parent hierarchies and go directly to the origin server.
|
|
false - requests do not bypass parent hierarchies.
|
|
The following rule configures a parent cache hierarchy consisting of Content Gateway (which is the child) and two parents, p1.x.com and
p2.x.com. The proxy forwards the requests it cannot serve to the parent servers
p1.x.com and
p2.x.com in a round-robin fashion because
round_robin=true.