iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
7-20
Controlling File Caching
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 (10KB).
Example:
MaxFileCacheContentSize 30
Both MaxFileCacheEntries and MaxFileCacheContentSize determine the maximum
file cache size. For example, if MaxFileCacheEntries is set to 3000 and
MaxFileCacheContentSize is set to 30, then the maximum capacity for the file cache
is 90MB. Compaq recommends a survey of all static files residing on the web site
as well as the physical memory configuration. Performance may be hindered if the
iTP Secure WebServer consumes too much physical memory and causes a high
number of page faults. A tuning process may be required to determine optimal
settings for these directives.
NoCache Region Command
Syntax:
Region URL_path {
[NoCache]
}