Deleting cache rules – Intel 1520 User Manual

Page 93

Advertising
background image

Chapter 5 Using the Command-Line Interface

81

The following table lists the possible action tags and their allowed values:

Examples

The following rule tells the appliance to never cache FTP documents
requested from the IP address 112.12.12.12.

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

.

▼ 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 CTRL-X to save your changes and return to the previous screen.

Action

Value

action

never-cache

ignore-no-cache

pin-in-cache

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

pin-in-cache

.

dest_ip=112.12.12.12 scheme=ftp action=never-cache

url_regex=politics prefix=/viewpoint pin-in-cache=12h

Advertising