
Alteon Application Switch Operating System Application Guide
Server Load Balancing
270
Document
ID:
RDWR-ALOS-V2900_AG1302
Caching Rule Lists
Associating caching rule lists to a FastView policy enables you to skip caching certain types of traffic
that either require too many resources or provide little benefit in caching them.
A rule list is an ordered list of rules that specifies which URLs to cache or not cache. You can create
multiple rule lists and change the lists associated with a FastView policy as needed.
Rule list logic is first-match, meaning once a rule within the list is matched, the remaining rules in
the list are not evaluated. You can duplicate an entire rule list using the Copy Rule-List option.
Rules are ordered in the rule list according to their index number. Radware recommends putting
rules that are matched often at the top of the list to optimize performance. See the cache URL rule
list statistics per rule to determine how often rules are matched.
Notes
•
When the URL ends with an asterisk (*) it is interpreted as a wildcard, and causes the entire
objects “tree” under the specified URL to be invalidated. The wildcard is interpreted in a wide
sense; meaning anything that appears in URL after that point is removed including multiple page
instances differentiated by query parameters.
•
If the URL includes a page name and/or page suffix and then an asterisk (for example,
http://mycompany.com/path/page.type*
), only various instances of the specific page with
different query parameters (specified after the question mark sign) are removed.
Purging Cached Content
In some cases you may want to purge the cached content of HTTP responses. The cache is purged
for the specified virtual server and virtual service. For a granular purge, you can also specify the
object URL, including a wildcard (*).
Notes
•
When the URL ends with an asterisk (*) it is interpreted as a wildcard, and causes the entire
objects “tree” under the specified URL to be invalidated. The wildcard is interpreted in a wide
sense; meaning anything that appears in URL after that point is removed including multiple page
instances differentiated by query parameters.
•
If the URL includes a page name and/or page suffix and then an asterisk (for example,
http://mycompany.com/path/page.type*
), only various instances of the specific page with
different query parameters (specified after the question mark sign) are removed.
For more information, see the section on the
/oper/slb/cachpurg
command in the Alteon
Application Switch Operating System Command Reference.
Common FastView Policy Use Cases
Example
1: Configuring a Basic FastView Service
1. Before you can configure a caching service, ensure that Alteon is configured for basic SLB:
—
Define an IP interface.
—
Enable SLB.
—
Assign an IP address to each of the real servers in the server pool.
—
Define each real server.
—
Assign servers to real server groups.