Go to the table of contents Go to the previous page Go to the next page View or print as PDF
cache.config
Help | Content Gateway | v8.5.x
The cache.config file defines how the proxy caches web objects. You can add caching rules to specify the following configuration:
*
*
*
*
 
Important 
Format
Each line in the cache.config file contains a caching rule. Content Gateway recognizes three space-delimited tags:
primary_destination=value secondary_specifier=value action=value
The following table lists the possible primary destinations and their allowed values.
 
See Specifying URL regular expressions (url_regex) for information about using regular expressions.
Secondary specifiers are optional in the cache.config file. The following table lists the possible secondary specifiers and their allowed values.
 
Note 
 
*
*
*
The following table lists the possible actions and their allowed values.
 
Examples
The following example configures the proxy to never cache FTP documents requested from the IP address 112.12.12.12:
dest_ip=112.12.12.12 scheme=ftp action=never-cache
The following example configures the proxy to keep documents with URLs that contain the regular expression "politics" and the path prefix/viewpoint in the cache for 12 hours:
url_regex=politics prefix=/viewpoint pin-in-cache=12h
The following example configures the proxy to revalidate gif and jpeg objects in the domain mydomain.com every 6 hours and all other objects in mydomain.com every hour:
dest_domain=mydomain.com suffix=gif revalidate=6h
dest_domain=mydomain.com suffix=jpeg revalidate=6h
dest_domain=mydomain.com revalidate=1h
 
Note 

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Copyright 2023 Forcepoint. All rights reserved.