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

- Previous: http-access-log
- Next: http-listener

## http-file-cache

Configures the HTTP file cache.

### Superelements

http-service

### Subelements

none

### Attributes

The following table describes attributes for the `http-file-cache` element.

Table 1–58 `http-file-cache` Attributes

Attribute | Default | Description
--- | --- | ---
`globally-enabled` | `true` | (optional) If `true`, enables the file cache.
`file-caching-enabled` | `on` | (optional) If on, enables caching of the file content if the file size exceeds the `medium-file-size-limit-in-bytes`.
`max-age-in-seconds` | `30` | (optional) Specifies the maximum age of a file cache entry.
`medium-file-size-limit-in-bytes` | `537600` | (optional) Specifies the maximum size of a file that can be cached as a memory mapped file.
`medium-file-space-in-bytes` | `10485760` | (optional) Specifies the total size of all files that are cached as memory mapped files.
`small-file-size-limit-in-bytes` | `2048` | (optional) Specifies the maximum size of a file that can be read into memory.
`small-file-space-in-bytes` | `1048576` | (optional) Specifies the total size of all files that are read into memory.
`file-transmission-enabled` | `false` | (optional) If `true`, enables the use of `TransmitFileSystem` calls. Meaningful only for Windows.
`max-files-count` | `1024` | (optional) Specifies the maximum number of files in the file cache.
`hash-init-size` | `0` | (optional) Specifies the initial number of hash buckets.

- Previous: http-access-log
- Next: http-listener

- © 2010, Oracle Corporation and/or its affiliates