Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: To configure the HTTP protocol for the HTTP Service
- Next: Admin Console Tasks for Virtual Servers

## To configure the HTTP file cache for the HTTP Service

The file cache stores static content so that the server handles requests for such content quickly.

1. Click Load Defaults to load the default values.

2. Check the Globally box to enable file caching.

   The default is true.

3. Check the File Transmission box to enable the use of the `TransmitFileSystem` method on Windows.

   The default is false.

4. In the Max Age field, type the maximum age, in seconds, of a valid cache entry.

   The default is 30 seconds.

5. In the Max Files Count field, type the maximum number of files in the file cache.

   The default is 1024.

6. In the Hash Init Size field, type the initial number of hash buckets.

   The default is zero.

7. In the Medium File Size Limit field, type the maximum size, in bytes, of a file that can be cached as a memory mapped file.

   The default is 537,600 bytes.

8. In the Medium File Size field, type the total size, in bytes, of all files that are cached as memory mapped files.

   The default is 10,485,760 bytes.

9. In the Small File Size Limit field, type the maximum size, in bytes, of a file that can be read into memory.

   The default is 2048 bytes.

10. In the Small File Size field, type the total size, in bytes, of all files that are read into memory.

    The default is 1,048,576 bytes.

11. Choose `ON` or `OFF` from the File Caching Enabled drop-down list to enable or disable caching of file content if the size of the file is less than the medium file size limit.

    The default is `ON`.

12. Click Save to save the changes, or Load Defaults to return to the default settings.

- Previous: To configure the HTTP protocol for the HTTP Service
- Next: Admin Console Tasks for Virtual Servers

- © 2010, Oracle Corporation and/or its affiliates