ServerIron ADX Advanced Server Load Balancing Guide 75
53-1002435-01
Content aware cache switching
2
Configuring policies for dynamic content
For dynamic Web pages, such as Active Server Pages, it may be preferable not to cache the
content. You can configure CSW policies on the ServerIron ADX that cause requests for these kinds
of pages to bypass the cache servers and go directly to the Internet.
In addition, the ServerIron ADX examines directives in the HTTP 1.0 or 1.1 header to determine
whether a request should be sent to the cache servers or to the Internet. When this feature is
enabled (the default), a request is sent to the origin server regardless of the URL string if one of the
following is true:
• The request contains a pragma:no-cache header (HTTP 1.0 requests)
• The Cache-Control header in the request contains a no-cache directive (HTTP 1.1 requests)
In the configuration in Figure 20 on page 76, the ServerIron ADX has CSW policies in place that
cause HTTP requests to be directed to the cache servers as follows:
• Requests that have URL strings with the text "asp" anywhere within go directly to the Internet
• Requests for all other content are directed to one of the cache servers in server group ID = 100
• HTTP 1.0 requests that have a pragma:no-cache header are sent to the Internet regardless of
the URL string
• HTTP 1.1 requests that have a Cache-Control header containing a no-cache directive are sent
to the Internet regardless of the URL string
Comments to this Manuals