Preloading the cache with frequently cached files
To preload the most frequently accessed pages automatically, use the Cache Configuration -> Cache Refresh form.
This function requires a Cache Access Log for the proxy server. (The log's location
and name can be changed; refer to Monitoring Caching Proxy for information.) The
most popular URLs are determined automatically from the Cache Access Log.
The administrator can also specify the number of popular pages to preload
in the cache. (This number is specified in the proxy configuration file by
the LoadTopCached directive.)
Use the Cache Refresh form to configure
the following options:
- Refresh the cache daily--Check this
box if you want the cache agent to refresh the cache every night. If you do
not want to start the cache agent, make sure this box is cleared.
- Cache refresh time--If you want the
cache agent to run at a time other than 3:00 a.m., specify the hour and minute
when you want it to start.
- Identify cache destination server--Use
this option if you want to refresh a server other than the local machine.
(Note that you cannot refresh a remote server based on the frequency of access
to specific files.)
- Cache the most popular URLs--Specify
the number of URLs to cache from the previous night's cache access log.
- Load linked pages--Use this setting
to configure delving (see the following section for details on delving). Set
the number of levels to delve, and whether to delve for all pages (always), no pages (never), administrator-specified
pages only (admin), or popular pages only (topn). Also specify whether to delve across hosts,
whether to delay between requests, and whether to cache inline images.
- Number of threads--Set the maximum
number of threads to use for cache refreshing.
- Maximum work queue depth--Set the
maximum queue for URLs to request.
- Maximum URLs to request--Set the maximum
number of pages to load. This number is checked before delving page retrieval
begins.
- Maximum time--Set the maximum time
to run the cache agent. If this time is set to 0 hours 0 minutes, the cache
agent runs to completion.