25
Module 9: Implementing Cac hing

Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Embed Size (px)

Citation preview

Page 1: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Module 9: Implementing Caching

Page 2: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Overview

Caching Overview

Configuring General Cache Properties

Configuring Cache Rules

Configuring Content Download Jobs

Page 3: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Lesson: Caching Overview

What Is Caching?

How Caching Works for Requests for New Objects

How Caching Works for Requests for Cached Objects

How Content Download Jobs Work

How Caching Is Implemented in ISA Server 2004

Web Proxy Chaining and Caching

Page 4: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

What Is Caching?

ISA Server caching provides:ISA Server caching provides:

Improved performance — information is stored on the computer running ISA Server

Reduced bandwidth usage — no additional Internet network traffic

Improved performance — information is stored on the computer running ISA Server

Reduced bandwidth usage — no additional Internet network traffic

ISA Server caching scenarios include:ISA Server caching scenarios include:

Forward caching — Internet Web servers

Reverse caching — internal Web servers

Forward caching — Internet Web servers

Reverse caching — internal Web servers

ISA Server caching stores a copy of requested Web content in the server memory or on the hard disk

ISA Server caching stores a copy of requested Web content in the server memory or on the hard disk

Page 5: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Server hard disk

Server hard disk

How Caching Works for Requests for New Objects

www.contoso.comwww.contoso.com

http://www.contoso.comhttp://www.contoso.com

Server RAM

Server RAM

66

ISAServer

ISAServer

11 5533

2244

Page 6: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How Caching Works for Requests for Cached Objects

Server hard disk

Server hard disk

www.contoso.comwww.contoso.com

http://www.contoso.comhttp://www.contoso.com

Server RAM

Server RAM

ISAServer

ISAServer

11 33

22

Page 7: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Server hard disk

Server hard disk

How Content Download Jobs Work

www.contoso.comwww.contoso.com

http://www.contoso.comhttp://www.contoso.com

Server RAM

Server RAM

ISAServer

ISAServer

33 55

22

4411

Page 8: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How Caching Is Implemented in ISA Server 2004

ISA Server caching optimizes Web cachingperformance by:ISA Server caching optimizes Web cachingperformance by:

Using RAM and disk caching

Maintaining the RAM cache in physical memory

Maintaining a directory of cached items

Using a single cache file

Providing quick recovery

Using efficient cache updates

Providing automatic cleanup

Using RAM and disk caching

Maintaining the RAM cache in physical memory

Maintaining a directory of cached items

Using a single cache file

Providing quick recovery

Using efficient cache updates

Providing automatic cleanup

Page 9: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Web Proxy Chaining and Caching

InternetInternet

Branch OfficeBranch OfficeHead OfficeHead Office

Branch OfficeBranch Office

11

3355

66

22

44

Page 10: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Lesson: Configuring General Cache Properties

Caching Configuration Components

How to Enable Caching and Configure Cache Drives

How to Configure Cache Settings

Page 11: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Caching Configuration Components

Component Explanation

Define cache drivesEnables caching by configuring a cache drive for storing the cached content

Configure caching settings

Modifies the default TTL and types of cached content

Configure caching rules

Enables unique caching policies for specific Web content

Configure content download jobs

Enables the prefetch of content before clients request the content

Page 12: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How to Enable Caching and Configure Cache Drives

Caching is disabled by default on ISA Server 2004. When you enable caching, ISA Server creates a file with an initial size equal to the size you chose for the maximum cache size on the hard disk

Caching is disabled by default on ISA Server 2004. When you enable caching, ISA Server creates a file with an initial size equal to the size you chose for the maximum cache size on the hard disk

Page 13: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How to Configure Cache Settings

Configurenegative caching

Configurenegative caching

Configurecaching of objects

with undefined TTL

Configurecaching of objects

with undefined TTL

Configure response to request for

unavailable Web site

Configure response to request for

unavailable Web site

Configure memoryused for caching

Configure memoryused for caching

Page 14: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Practice: Configuring General Cache Properties

Enabling Web Caching on ISA Server

Configuring Web caching on ISA Server

Internet

Den-ISA-01

Den-DC-01

Page 15: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Lesson: Configuring Cache Rules

What Are Cache Rules?

How to Create a Cache Rule

Managing Cache Rules

Page 16: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

What Are Cache Rules?

Cache rule options Default cache ruleDefine the destination set that the rule applies to Applies to all Web content

Define how content is returned to the user

Returns non-expired content to the user

Define whether content is stored in the cache

Caches the defaultcacheable objects

Define whether to cache HTTP, FTP, or both types of content

Enables caching of both HTTP and FTP content

Define the maximum size for cached objects

Does not apply any size restrictions to cached objects

Define whether to cacheSSL content Caches SSL content

Page 17: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How to Create a Cache Rule

Cache Rule Wizard Page Configuration Options

Cache Rule Destinations

Use destination sets to define the Web content that this rule applies to

Content Retrieval Defines how ISA Server responds to client requests if the content is or is not in cache

Cache Content Defines the types of content ISA Server will cache

Cache Advanced Configuration

Defines maximum size for caching objects and SSL response caching

HTTP Caching Enables and configures TTL settings for HTTP content

FTP Caching Enables and configures TTL settings for FTP content

Page 18: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Managing Cache Rules

Managing cache rules includes:Managing cache rules includes:

Modifying the cache rule configuration after creating the rule

Modifying the cache rule order to evaluate cache rules for specific Web sites before cache rules forall Web sites

Disabling or deleting cache rules that are nolonger required

Exporting the cache rule configuration before modifying the cache rules in case the modification is not successful

Modifying the cache rule configuration after creating the rule

Modifying the cache rule order to evaluate cache rules for specific Web sites before cache rules forall Web sites

Disabling or deleting cache rules that are nolonger required

Exporting the cache rule configuration before modifying the cache rules in case the modification is not successful

Page 19: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Practice: Configuring Cache Rules

Configuring cache rules on ISA Server

Internet

Den-ISA-01

Den-DC-01

Page 20: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Lesson: Configuring Content Download Jobs

What Are Content Download Jobs?

How to Create a Content Download Job

Managing Content Download Jobs

Page 21: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

What Are Content Download Jobs?

Content download jobs:Content download jobs:

Allow you to schedule content for download at a specific time even if no user on the network has requested the content

Improve Internet access performance

Can be used to download content to the branch office during nonworking hours

Can be used to ensure access to critical Internet content even when the Internet connection isnot available

Allow you to schedule content for download at a specific time even if no user on the network has requested the content

Improve Internet access performance

Can be used to download content to the branch office during nonworking hours

Can be used to ensure access to critical Internet content even when the Internet connection isnot available

Page 22: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

How to Create a Content Download Job

Content Download Job Wizard Page Configuration Options

Download Frequency

Defines a schedule for when the content download will occur

Content Download

Defines the content that willbe downloaded

Includes maximum links, objects,and concurrent connections usedfor downloads

Content CachingDefines what types of content to cache

Defines the TTL for cached content

Page 23: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Managing Content Download Jobs

Managing content download jobs includes:Managing content download jobs includes:

Modifying the content download job configuration after creating the job

Starting content download jobs outside the scheduled time or stopping content download jobs that are running

Disabling or deleting content download jobs that are no longer required

Modifying the content download job configuration after creating the job

Starting content download jobs outside the scheduled time or stopping content download jobs that are running

Disabling or deleting content download jobs that are no longer required

Page 24: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Practice: Configuring Content Download Jobs

Creating a Content Download Job

Internet

Den-ISA-01

Den-DC-01

Gen-Web-01

Page 25: Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs

Lab: Configuring Caching

Exercise 1: Testing and Monitoring ISA Server Caching

Internet

Den-Clt-01

Den-ISA-01

Den-DC-01

Gen-Web-01