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
What Is Caching? 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: 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
Server hard disk How Caching Works for Requests for New Objects Server RAM 6 6 ISA Server
How Caching Works for Requests for Cached Objects Server hard disk Server RAM ISA Server
Server hard disk How Content Download Jobs Work Server RAM ISA Server
How Caching Is Implemented in ISA Server 2004 ISA Server caching optimizes Web caching performance 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
Web Proxy Chaining and Caching Internet Branch Office Head Office Branch Office
Lesson: Configuring General Cache Properties Caching Configuration Components How to Enable Caching and Configure Cache Drives How to Configure Cache Settings
Caching Configuration Components Component Explanation Define cache drives Enables 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
How to Enable Caching and Configure Cache Drives Caching is disabled by default on ISA Server 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 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
How to Configure Cache Settings Configure negative caching Configure negative caching Configure caching of objects with undefined TTL Configure caching of objects with undefined TTL Configure response to request for unavailable Web site Configure memory used for caching Configure memory used for caching
Practice: Configuring General Cache Properties Enabling Web Caching on ISA Server Configuring Web caching on ISA Server Internet Den-ISA-01 Den-DC-01
Lesson: Configuring Cache Rules What Are Cache Rules? How to Create a Cache Rule Managing Cache Rules
What Are Cache Rules? Cache rule optionsDefault cache rule Define 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 default cacheable 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 cache SSL content Caches SSL content
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
Managing Cache Rules 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 for all Web sites Disabling or deleting cache rules that are no longer 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 for all Web sites Disabling or deleting cache rules that are no longer required Exporting the cache rule configuration before modifying the cache rules in case the modification is not successful
Practice: Configuring Cache Rules Configuring cache rules on ISA Server Internet Den-ISA-01 Den-DC-01
Lesson: Configuring Content Download Jobs What Are Content Download Jobs? How to Create a Content Download Job Managing Content Download Jobs
What Are 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 is not 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 is not available
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 will be downloaded Includes maximum links, objects, and concurrent connections used for downloads Content Caching Defines what types of content to cache Defines the TTL for cached content
Managing Content Download Jobs 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
Practice: Configuring Content Download Jobs Creating a Content Download Job Internet Den-ISA-01 Den-DC-01 Gen-Web-01
Lab: Configuring Caching Exercise 1: Testing and Monitoring ISA Server Caching Internet Den-Clt-01 Den-ISA-01 Den-DC-01 Gen-Web-01