Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide

- Previous: Subelements
- Next: Properties

### Attributes

The following table describes attributes for the `cache` element.

Table A–10 `cache` Attributes

Attribute | Default | 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` | `true` | (optional) Determines whether servlet and JSP caching is enabled.

- Previous: Subelements
- Next: Properties

- © 2010, Oracle Corporation and/or its affiliates