iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)

Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrators Guide522659-001
7-19
Controlling File Caching
Example:
FileStatsCheckTime 120
CacheTime
Syntax:
CacheTime <minutes>
Description:
Use the CacheTime directive to specify the time (in minutes)during which the server
caches file opens, file stats, or actual file contents. When this directive is present in
a configuration file, files accessed by the iTP Secure WebServer stay in memory for
the time specified in the CacheTime directive.
CacheTime accepts a value from 0 (zero) to 600 (10 hours). Specifying a value of 0
(zero) in the CacheTime directive disables file caching.
Default:
When no CacheTime directive is present, the server caches files for approximately
60 minutes (one hour).
Example:
CacheTime 7
MaxFileCacheEntries
Syntax:
MaxFileCacheEntries <num_entries>
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 may be consumed by the
file cache; if you specify a smaller number, the server must access files directly from
disk more frequently. Therefore, Compaq recommends a survey of the web site as
well as the physical memory configuration on the CPU.
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.