Sun Java System Web Server 7.0 Update 5 Developer's Guide to Java Web Applications

Attributes

The following table describes attributes for the cache element.

Table A–30 cache Attributes

Attribute 

Default Value 

Description 

max-entries

4096

(Optional) Specifies the maximum number of entries the cache can contain. Must be a positive integer. 

timeout-in-seconds

30 

(Optional) Specifies the maximum amount of time in seconds that an entry can remain in the cache after it is created or refreshed. Can be overridden by a timeout element.

enabled

false

(Optional) Determines whether servlet and JSP caching is enabled. Legal values are on, off, yes, no, 1, 0, true, false.