[Caching Policy wpo1 Menu] name - Set policy name expire - Set maximum expiration time minsize - Set minimum object size to be stored maxsize - Set maximum object size to be stored urllist - Set cache url exceptions rule-list store - Set behavior for storing new object in cache serve - Set behavior when serving client with object query - Set inclusion of query parameter browser - Enable/Disable optimize browser cache ena - Enable policy dis - Disable policy del - Delete policy cur - Display current policy configuration |
Command Syntax and Usage | |
---|---|
name | |
Sets the descriptive name for the caching optimization policy. Values: 0–32 alphanumeric characters Default: none | |
expire | |
The maximum expiration time, in seconds, for serving an object from cache. ![]() ![]() Note: Alteon updates the client browser with the expiration time only if browser caching is enabled with the browser command, as described in this table. Values: 60 – 43,200,000 seconds (~500 days) Default: 86400 (24 hours) | |
minsize | |
The minimum object size to be stored, in bytes, in cache. Values: 1–65536 Default: 1024 (1 KB) Radware recommends that you reduce the minimum cache object size to 1 byte when using .css or JavaScript inlining, as described in /cfg/slb/accel/caching/cachepol <policy ID (alphanumeric)> Caching Policy Menu. | |
maxsize | |
The maximum object size to be stored, in bytes, in cache. Values: 1 – 512,000,000 Default: 1048576 (1 MB) | |
store | |
An optional setting that defines caching behavior for storing new objects in cache. Values: ![]() ![]() Note: Radware recommends that you use the URL exceptions rule list as a blocklist if you choose to cache all content, specifying what should not be cached. Default: srvrhdr | |
serve | |
Defines the cache behavior when serving clients with objects, where you specify Alteon’s behavior when a cached object is requested from it. The prompt displays the current behavior for serving clients with an object. Enter the new behavior for serving clients with an object. Values: ![]() ![]() ![]() Default: clnthdr | |
query | |
Determines if the query parameter added to an object’s URL should be considered when storing objects in a cache. Ignoring query parameters from the object name implies that the object may be served to various requests that include different query parameters. This generalizes object names and is useful when parameters do not affect object content. Considering query parameters in the object name implies the object is stored with the full parameter string, and are served only if requested with the same parameters. This is useful when the same object may be different when requested with different parameters. Values: consider, ignore Default: ignore | |
browser | |
Browser caching can be optimized by updating the cache control directives on every cache-served object. The object headers are updated to reflect the future time length that objects can be cached by the browser according to the Alteon cache time (either from server headers or the cache URL exceptions rule list. For more information, see /cfg/slb/accel/caching/urllist <rule-list id>/rule <rule number> Cache URL Exceptions Rule-List Rule Menu). Values: disabled, enabled Default: enabled | |
ena <policy id> | |
Enables a caching policy. | |
dis <policy id> | |
Disables a caching policy. You can disable a caching policy even when it is associated with a virtual service. | |
del <policy id> | |
Deletes a caching policy. | |
cur | |
Displays the current caching configuration, including the list of defined domains and the services with which a caching policy is associated. |