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 Ch
Trang 1Module 9:
Implementing Caching
Trang 3Lesson: 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
Trang 4What Is Caching?
ISA Server caching provides:
Improved performance — information is stored on the computer running ISA Server
Reduced bandwidth usage — no additional Internet
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
Trang 5Server hard disk
Server hard disk
How Caching Works for Requests for New Objects
www.contoso.com
http://www.contoso.com
Server RAM
Server RAM
6
ISA Server
ISA Server
2 4
Trang 6How Caching Works for Requests for Cached Objects
Server hard disk
Server hard disk
www.contoso.com
http://www.contoso.com
Server RAM
Server RAM
ISA Server
ISA Server
2
Trang 7Server hard disk
Server hard disk
How Content Download Jobs Work
www.contoso.com
http://www.contoso.com
Server RAM
Server RAM
ISA Server
ISA Server
2 4
1
Trang 8How Caching Is Implemented in ISA Server 2004
ISA Server caching optimizes Web caching
performance by:
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
Trang 9Web Proxy Chaining and Caching
Internet
Branch Office Head Office
Branch Office
1
3
6 2 4
Trang 10Lesson: Configuring General Cache Properties
Caching Configuration Components
How to Enable Caching and Configure Cache Drives How to Configure Cache Settings
Trang 11Caching Configuration Components
Trang 12How 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
Trang 13How to Configure Cache Settings
TTL
Configure caching of objects with undefined
Configure memory used for caching
Trang 14Practice: Configuring General Cache Properties
Enabling Web Caching on ISA Server Configuring Web caching on ISA Server
Internet Den-ISA-01
Den-DC-01
Trang 15Lesson: Configuring Cache Rules
What Are Cache Rules?
How to Create a Cache Rule
Managing Cache Rules
Trang 16What Are Cache Rules?
Cache rule options Default cache rule
Define the destination set that
the rule applies to Applies to all Web contentDefine 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 cache
Trang 17How to Create a Cache Rule
Cache Rule
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 cacheCache Content Defines the types of content ISA Server will cacheCache Advanced
Configuration Defines maximum size for caching objects and SSL response caching
HTTP Caching Enables and configures TTL settings for HTTP contentFTP Caching Enables and configures TTL settings for FTP content
Trang 18Managing 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
Trang 19Practice: Configuring Cache Rules
Configuring cache rules on ISA Server
Internet Den-ISA-01
Den-DC-01
Trang 20Lesson: Configuring Content Download Jobs
What Are Content Download Jobs?
How to Create a Content Download Job
Managing Content Download Jobs
Trang 21What 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
Trang 22How to Create a Content Download Job
Content Caching Defines what types of content to cache
Defines the TTL for cached content
Trang 23Managing 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
Trang 24Practice: Configuring Content Download Jobs
Creating a Content Download Job
Internet
Den-ISA-01
Den-DC-01
Gen-Web-01
Trang 25Lab: Configuring Caching
Exercise 1: Testing and Monitoring ISA Server Caching
Internet Den-Clt-01
Den-ISA-01
Den-DC-01
Gen-Web-01