Static cache rule settings
Use this topic to configure a cache rule that is associated to a URI group for the proxy server. HTTP 1.1 defines a set of rules for proxy servers to cache content. Static cache rules enable these default rules to be overridden for a given address space. Before the rules have any meaning, enable caching on the Servers > Server Types > WebSphere proxy servers > proxy_server_name > HTTP Proxy Server Settings > Proxy settings admin console page.
To view this admin console page ...
Servers > Proxy Servers > myserver > HTTP Proxy Server Settings > Static cache rules > URI_group.
We can edit proxy server setting fields on the Configuration tab.
- URI groups
URI groups, along with the virtual host, define the scope of the address space to have cache customizations performed.
The name field cannot contain the following characters: # \ / , : ; " * ? < > | = + & % '
The name that is defined must be unique among URI groups and cannot begin with a period or a space. A space does not generate an error, but leading and trailing spaces are automatically deleted.
- Disable caching for this URI group
Disables caching for this address space. A user may wish to disable caching for a set of content servers that are known to contain sensitive or highly-personalized information.
The default is false, which indicates that caching is enabled for the URI group.
- Default expiration
The default expiration value, in seconds, used to determine the validity of a cached response when all other HTTP 1.1 caching-related response headers do not give guidance. The default value is sufficient in most environments.
The default expiration value is in seconds.
- Last modified factor
The percentage of a last-modified header for a response that determines the validity of a cached response when the response does not have explicit HTTP expiration headers. The default value is sufficient in most environments.
The default for this field is 0.0.
- Name of the virtual host
A virtual host configured using the virtual host service. This virtual host is associated with the proxy server. This attribute is one of the elements in a request that is matched by the proxy server to determine if this rule is activated.
The default for this field is none.
Related tasks
Set up the proxy server