>> Cache URL Rule-List 4# rule Enter Cache URL Exceptions rule number (1-51200): |
[Rule-list 1 Rule 1 Menu] name - Set rule name domainm - Set domain matching method domain - Set domain to be matched by this rule urlm - Set URL matching method url - Set URL to be matched by this rule expire - Set maximum expiration time cache - Enable/Disable caching copy - Copy rule ena - Enable rule dis - Disable rule del - Delete rule cur - Display current rule configuration |
Command Syntax and Usage | |
---|---|
name | |
The name of the rule that displays in the rule list. Values: 0 – 31 characters | |
domainm | |
Rules can be limited to a specific virtual domain or match any domain. This parameter determines how domain matching should be evaluated. Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*) Values: any, regex, text Default: any | |
domain | |
Optionally defines the domain matching configuration (virtual host) for which this rule applies. Use this parameter only when domain matching method is not set to any. Example: company.com | |
urlm | |
Determines how URL matching is evaluated. Note: Simple wildcards, such as question marks and asterisks are not considered regex and will not result in the desired behavior. The regex match for the simple wildcard asterisk (*) is dot-asterisk (.*) Values: any, regex, text Default: any | |
url | |
Determines the URL of the specific object (file/folder) to be matched by this rule. This parameter is used only when the URL matching method is not set to any. The URL can be full or partial according to the level of granularity required by the configuration. Example: /Radware recommends/user/documents | |
expire | |
The expiration time is part of the rule’s action. This parameter defines the maximum time, in seconds, for a cache object to remain in cache. Note: The expiration time is functional only if caching is set to enabled. If you set this value to 0, the cache time is set according to the minimum time from the server header (Expires or Max-Age headers) and the cache policy Max-time-to-cache parameter. This lets you create rules that force caching without affecting the time set by the servers. This is useful when you create a general rule for No-Cache and want to create an exception within it. Values: 0–43,200,400 seconds Default: 86400 | |
cache | |
Enables or disables caching and further processing as the rule action. ![]() ![]() Default: disabled | |
copy | |
Copies a rule to another rule number in the same rule list. This can also change the priority of a rule. | |
ena | |
When you configure the rule, it is disabled by default. For the rule to be operational, you must first enable and apply it. | |
dis | |
Disables a rule to make it non-operational. | |
del | |
Deletes this rule. | |
cur | |
Displays the current rule configuration. |