Sun GlassFish Enterprise Server v3 Domain File Format Reference

F

file-cache

Configures the HTTP file cache.

Superelements

http

Subelements

none

Attributes

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

Table 1–54 file-cache Attributes

Attribute 

Default 

Description 

enabled

false

(optional) If true, enables caching of the file content.

max-age-seconds

30

(optional) Specifies the maximum age of a file cache entry. 

max-cache-size-bytes

1048576

(optional) Specifies the total size of all files that are cached as memory mapped files. 

max-files-count

1024

(optional) Specifies the maximum number of files in the file cache.