Module 4:Configuring Caching
Overview
Cache Overview
Configuring Cache Policy
Configuring Cache Settings
Configuring Scheduled Content Downloads
Cache Overview
Caching Functions
Processing Requests for New Objects
Processing Requests for Cached Objects
Caching Functions
RAM and Disk Caching
Most of Working Set in RAM
Directory of Cached Objects
Single Cache File
Quick Recovery
Efficient Cache Updates
Active Caching
Cache Pre-Fetching
Automatic Cleanup
Cache
Processing Requests for New Objects
RAMRAM DiskDisk
Cache Directory
Objects Objects
11
Request http://URL A
44
http://URL Ahttp://URL A
Cache Directory Backup
Cache Entry 1
AllocateCache Entry 1
2266
http://URL Ahttp://URL A
InternetInternet
33
55Batch Update
Processing Requests for Cached Objects
RAMRAM DiskDisk
Cache Directory
Objects Objects
11
Request http://URL A
http://URL Ahttp://URL A
33
http://URL Ahttp://URL A
Cache Directory Backup
Cache Entry 1
Cache Entry 1
22
Configuring Cache Policy
Configuring HTTP Caching
Configuring Expiration Policies
Configuring Active Caching
Configuring FTP Caching
Configuring Advanced Cache Settings
Configuring Actions for Inaccessible Objects
Configuring HTTP Caching
Cache Configuration Properties
General
OK Cancel Apply
No less than:No less than: 1515 MinutesMinutes
No more than:No more than: 11 DaysDays
No less than:No less than: 1515 MinutesMinutes
No more than:No more than: 11 DaysDays
Enable HTTP Caching
Unless source specifies expiration, update source:
Restore Defaults
HTTP FTP Active Caching Advanced
Frequently (Expire immediately)
Normally
Less frequently (Reduced network traffic is important)
Set Time To Live (TTL) of object in cache to:
This percentage of content ageThis percentage of content age 2020(Time since creation of modification):(Time since creation of modification):
This percentage of content ageThis percentage of content age 2020(Time since creation of modification):(Time since creation of modification):
Select to enable HTTP caching.
Configuring Expiration Policies
Cache Configuration Properties
General
OK Cancel Apply
No less than: 15 Minutes
No more than: 1 Days
Enable HTTP Caching
Unless source specifies expiration, update source:
Restore Defaults
HTTP FTP Active Caching Advanced
Frequently (Expire immediately)
Normally
Less frequently (Reduced network traffic is important)
Set Time To Live (TTL) of object in cache to:
This percentage of content age 20(Time since creation of modification):
Select to create pre-configured expiration policies.
Select to create custom expiration policies.
Cache Configuration Properties
General
OK Cancel Apply
Enable active Caching
Active caching automatically retrieves frequently accessed files.
Restore Defaults
HTTP FTP Active Caching Advanced
Frequently(Client performance is more important)
Normally(Client performance and reduced network traffic are equallyimportant)
Less frequently(Reduced network traffic is more important)
Retrieve files:
Configuring Active Caching
Select to create an active caching policy.
Cache Configuration Properties
General
OK Cancel
Enable FTP caching
Restore Defaults
HTTP FTP Active Caching Advanced
Configuring FTP Caching
Specify a time for FTP objects to remain in the cache.
ApplyApply
Time to Live for all objects:
1440 Minutes
Configuring Advanced Cache Settings
Cache Configuration Properties
General
OK Cancel Apply
Restore Defaults
HTTP FTP Active Caching Advanced
Maximum size of URL cached in memory (bytes): 12800
Do not return the expired object (return an error page)
Return the expired object only if expiration was:
At less that this percentage of original Time 50to Live:But no more than (minutes): 60
If Web site of expired object cannot be reached:
Percentage of available memory to use for caching: 50
Do not cache objects larger than: 1 KB
Cache objects that have an unspecified last modification time
Cache objects even if they do not have an HTTP status code of 200
Cache dynamic content (objects with question marks in the URL)
Select to configure cache settings for specific objects.
Configuring Actions for Inaccessible Objects
ISA ServerISA ServerISA Server ClientISA Server Client
301
Client requests object11
Object is not available22
ISA Server returns the expired object from its cache and caches error response
33
InternetInternet
Configuring Cache Settings
Adjusting Cache Size
Adjusting Memory Allocation
Adjusting Cache SizeLONDON Properties
Cache Drives
LONDON
OK Cancel Apply
Set100Maximum cache size (MB):
Total disk space (MB): 39064
Total maximum cache size (MB): 100
Specify the size of the cache.
urlcache
File Edit View Favorites Tools HelpBack
dir1 File Folder 9/6/2000 9:43 PMdir1 100,800 KB Microsoft ISA Server Cache File 9/18/2000 9:28 PM
Search Folders History
Go
Name Size Type Modified
Address urlcache
urlcache
Select an item to view itsdescription
See also:My DocumentsMy Network Places
2 object(s) 98.4 MB My Computer
The .cdat file on the drive will be the same size as the cache.
Drive Type Disk space… Free space… Cache Size…
Adjusting Memory Allocation
Cache Configuration Properties
General
OK Cancel Apply
Restore Defaults
HTTP FTP Active Caching Advanced
Maximum size of URL cached in memory (bytes): 12800
Do not return the expired object (return an error page)
Return the expired object only if expiration was:
At less that this percentage of original Time 50to Live:But no more than (minutes): 60
If Web site of expired object cannot be reached:
Percentage of available memory to use for caching: 50
Do not cache objects larger than: 1 KB
Cache objects that have an unspecified last modification time
Cache objects even if they do not have an HTTP status code of 200
Cache dynamic content (objects with question marks in the URL)
Type a number between 1 and 100 to specify the maximum percentage of memory.
Name the JobName the Job
Select the Date and TimeSelect the Date and Time
Select the Frequency Select the Frequency
Enter the URLEnter the URL
Specify Job ParametersSpecify Job Parameters
Configuring Scheduled Content Downloads
StartStartStartStart
FinishFinishFinishFinish
Lab A: Configuring Caching
Review
Cache Overview
Configuring Cache Policy
Configuring Cache Settings
Configuring Scheduled Content Downloads