iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-002
7-22
NoCache Region Command
NoCache Region Command
Syntax:
Region URL_path {
[NoCache]
}
Description:
Use the Region directive to control access to the server by path component. The
command(s) specified are applied to all URLs matching URL_path. The NoCache
command is used to disable file caching for all URLs matching the URL_path. In
other words, none of the file opens, file stats, or file contents in the region are
cached.
The file caching mechanism is applied to all disk files on an iTP Secure
WebServer. If a small number of disk files require constant updates, frequent
updates to the file cache may also be required, and this might impact the overall
performance of the iTP Secure WebServer. The NoCache Region command can
be used to exclude some of these files from file caching and allow the static files to
remain in the cache longer, and thus help maintain a good performance.
However, the Region directive is evaluated for every request and, in this case,
every file access. Therefore, too many Region directives may also affect the
efficiency of the iTP Secure WebServer. It may be best to keep all constantly
updated files in a single region.
Default:
When no Region directive or no NoCache command in the Region directives is
present, the server attempts to cache all files accessed.
Example:
Region /h/dynamic_files/* {
NoCache
}