iTP Secure WebServer System Administrators Guide (Version 7.5+)
When no CacheTime directive is present, the server caches files for approximately 60 minutes
(one hour).
Example:
CacheTime 7
MaxFileCacheEntries
Syntax:
MaxFileCacheEntries <num_entries>
If you specify a larger number of entries, more memory might be consumed by the file cache; if
you specify a smaller number, the server must access files directly from disk more frequently.
Therefore, HP recommends a survey of the Web site in addition to the physical memory configuration
on the processor.
Description:
Use the MaxFileCacheEntries directive to specify the maximum number of entries allowed in
the file cache where the server stores file opens, file stats, and actual file contents.
If you specify a larger number of entries, more memory might be consumed by the file cache; if
you specify a smaller number, the server must access files directly from disk more frequently.
Therefore, HP recommends a survey of the Web site in addition to the physical memory configuration
on the processor.
Only one MaxFileCacheEntries directive is allowed in the configuration file.
MaxFileCacheEntries accepts a value from 256 to 6000.
To disable file opens caching, the CacheTime directive must be set to 0.
Default:
When no MaxFileCacheEntries directive is present, the server allows 2000 entries in the file
cache.
Example:
MaxFileCacheEntries 5000
MaxFileCacheContentSize
Syntax:
MaxFileCacheContentSize<num_kilobytes>
where [num_kilobytes] specifies the number of kilobytes (KB), where 1 KB equals 1024 bytes.
Description:
Use the MaxFileCacheContentSize directive to specify the maximum file content length allowed
in a file cache entry. When this directive is present in a configuration file, files with a content length
less than or equal to [num_kilobytes] are cached entirely in the server's file cache. For files
with a content length greater than [num_kilobytes], only file opens and file stats are cached.
The actual file content is accessed directly from disk.
MaxFileCacheContentSize accepts a value from 0 (zero) to 50KB (50 x 1024 bytes).
Specifying a value of 0 (zero) in the MaxFileCacheContentSize directive disables file content
caching.
Default:
When no MaxFileCacheContentSize directive is present, the server assumes a value of 10
(10KBp).
Example:
MaxFileCacheContentSize 30
Controlling File Caching 107










