Caching action settings

You can configure caching action settings or a proxy server. Caching actions are set to determine whether or not a response will be cached.

To view this administrative console page, click Servers > Server Types > WebSphere proxy servers > proxy_server_name > Proxy actions > action_name.

Name

Specifies a user-defined symbolic name for a caching action.

A caching action name must be unique and cannot contain an invalid character. The name field cannot contain the following characters: # \ / , : ; " * ? < > | = + & % '.

Enable caching

Specifies whether or not to enable caching for the proxy server.

You must enable caching before you can provide a value for Default expiration or Last modified factor. If a value is specified for Last modified factor, then the value for Default expiration is not used.
Avoid trouble: If caching is disabled, the proxy server does not cache the uniform resource identifier (URI) that is associated with the proxy rule expression. For example, if a request comes in and it matches the rule expression for a proxy virtual host, then the actions associated with the rule expression, including the caching action, are executed. The rule expression may or may not include an explicit URI or URIgroup. If a request matches a rule expression with an action of caching disabled, the proxy server does not cache the response for that request.gotcha

Default expiration

Specifies the amount of time, in seconds, before a cached response expires. The default expiration determines the validity of cached responses for the URI that is associated with the cache rule.

Last modified factor

Specifies the amount of time, in seconds, before a response is cached if the response does not have explicit HTTP expiration headers. The last modified time header must be specified in the response. The value is determined based on when an HTML file was last changed to prevent caching frequently modified files for long periods of time.




Related tasks
Administering proxy actions
Related reference
Proxy actions collection
Reference topic    

Terms of Use | Feedback

Last updated: Oct 22, 2010 12:21:29 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-zos&topic=ujpx_cacheaction_detail
File name: ujpx_cacheaction_detail.html