Cache Property Editor
The Sun ONE Application Server can cache
the results of invoking a servlet, a JSP,
or any URL pattern to make subsequent invocations
of the same servlet, JSP, or URL pattern faster.
You open the Cache property editor
by selecting the Cache property
and its ellipsis (...) button
from the Sun ONE AS pane of
the web.xml property sheet.
You can perform the following tasks in this editor:
-
To specify the maximum number of entries the cache can contain,
type a positive number in the Maximum Capacity field.
-
To specify the maximum amount of time that an entry can remain in the
cache after it is created or refreshed,
type the number of seconds in the Default timeout in seconds field.
-
To enable servlet and JSP caching, set the Cache enabled field to true;
to disable caching, set the Cache enabled field to false.
-
To add a new mapping of a URL pattern or a servlet name
to its cacheability constraints,
click Add to open the Cache Mapping dialog box.
See Cache Policy Dialog Box
for more information on specifying the cacheability constraints.
-
To make changes to an existing mapping,
select the mapping and click Edit to open the Cache Mapping dialog box.
-
To remove a mapping,
select the mapping and click Remove.
Legal Notices