
The following table lists the possible action tags and their allowed values:
Action | Value |
|
|
action | ❚ |
| ❚ |
|
|
| Enter the amount of time you want to keep the |
| object(s) in the cache. Use the following time |
| formats: |
| ❚ h for hours, e.g. 10h |
| ❚ m for minutes, e.g. 5m |
| ❚ s for seconds, e.g. 20s |
| ❚ mixed units, e.g. 1h15m20s |
|
|
revalidate | Enter the amount of time you want to consider |
| the object(s) fresh. Use the same time formats |
| that are shown in |
|
|
Examples
The following rule tells the appliance to never cache FTP documents requested from the IP address 112.12.12.12.
dest_ip=112.12.12.12 scheme=ftp action=never-cache
The following rule tells the appliance to keep in the cache for 12 hours documents whose URL addresses contain the regular expression politics and whose the paths contain the prefix /viewpoint.
url_regex=politics prefix=/viewpoint
▼Deleting cache rules
1 Select the config menu, and press Enter.
2 Select cache, and press Enter.
3 Select rules, and press Enter.
4 Select delete rules, and press Enter. Doing so displays a list of the current rules. If no rules exits, a message appears at the bottom of the screen indicating such.
5 Use the arrow keys to position the cursor over the rule you want to delete and press Enter.
6 Press
Chapter 5 Using the | 81 |