module 4: configuring caching. overview cache overview configuring cache policy configuring cache...

19
Module 4: Configuring Caching

Post on 20-Dec-2015

285 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Module 4:Configuring Caching

Page 2: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Overview

Cache Overview

Configuring Cache Policy

Configuring Cache Settings

Configuring Scheduled Content Downloads

Page 3: 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

Page 4: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 5: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 6: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 7: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Configuring Cache Policy

Configuring HTTP Caching

Configuring Expiration Policies

Configuring Active Caching

Configuring FTP Caching

Configuring Advanced Cache Settings

Configuring Actions for Inaccessible Objects

Page 8: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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.

Page 9: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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.

Page 10: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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.

Page 11: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 12: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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.

Page 13: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 14: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Configuring Cache Settings

Adjusting Cache Size

Adjusting Memory Allocation

Page 15: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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…

Page 16: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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.

Page 17: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

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

Page 18: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Lab A: Configuring Caching

Page 19: Module 4: Configuring Caching. Overview Cache Overview Configuring Cache Policy Configuring Cache Settings Configuring Scheduled Content Downloads

Review

Cache Overview

Configuring Cache Policy

Configuring Cache Settings

Configuring Scheduled Content Downloads