Tài liệu Appendix A: ISA Server Caching Criteria - Pdf 84

Appendix A: ISA Server Caching
Criteria
ISA Server uses several criteria when determining which objects to cache and
how to cache them. This appendix provides an overview of the caching criteria
used by ISA Server.
HTTP Caching
ISA Server uses the following criteria when caching HTTP objects:

HTTP Methods. The Request Method must be an HTTP GET. Otherwise,
ISA Server bypasses the cache mechanism. An exception is the case of
negative caching. If the request is an HTTP PUT or an HTTP DELETE, ISA
Server purges obsolete data from the cache.

Dynamic Content. By default, ISA Server does not cache dynamic content,
which is defined as URLs that contain a “?.” If you enable caching of
dynamic content, ISA Server caches the object only if the response header
contains an Always Cache meta-tag. This scenario hardly occurs, and for
performance reasons, you should carefully evaluate caching of dynamic
content.

HTTP Request Headers. ISA Server bypasses the caching mechanism for
objects with certain request headers.

The following request headers cause ISA Server to bypass the caching
mechanism entirely. ISA Server does not look for the object in its cache and
does not store the response.
• Cache-control: no-store
• Authorization (An exception to this rule occurs if the Web server
explicitly allows caching by sending a cache-control: public, s-maxage,
or must-revalidate header.)
The following request headers cause ISA Server to bypass the cache when

• Cache-Control: must-revalidate
ISA Server never caches objects with the following HTTP response headers:
• Cache-Control: no-cache
• Cache-Control: no-store
• Cache-Control: private
• Pragma: no-cache
• Set-cookie
• WWW-Authenticate

ISA Server caches objects with a WWW-Authenticate header only if
the response also contains a Cache-Control: public header. This
combination of headers is extremely rare. In all other cases, if a single
response contains of the headers that cause ISA Server to cache the object
and one of the headers that cause ISA Server to not cache the object, ISA
Server does not cache the object.

Note
Appendix A: ISA Server Caching Criteria 3


Vary header. Web servers use the Vary header to indicate the presence of
multiple versions of an object with the same URL. The version that is
returned depends on one or more request headers that are specified as
arguments to the Vary header. ISA Server can store multiple versions of the
same object in its cache with the following implementation limitations:
• The object can vary on only one request header.
• The varying header name cannot be longer than 31 characters. The
limitation refers to the header name such as “User-Agent,” not the value.
• ISA Server reduces the maximum URL length by the size of the varying
header and its value.

so.

META tags within HTML. Most Web servers do not move META tags
from the HTML code to the HTTP headers.

The type of object, such as if the object is a file other than a Web page.
4 Appendix A: ISA Server Caching Criteria

FTP Caching
Because FTP servers do not return the helpful information that Web servers do,
FTP caching is much simpler. ISA Server caches all FTP responses for a fixed
period of time that you specify by using ISA Management.
Active Caching
The operations of active caching depend on three factors:

Time of last object access. When you configure active caching, ISA Server
retrieves Web objects with a Time-to-Live (TTL) that is close to expiring.
When you configure ISA Server to perform active caching less frequently,
ISA Server actively retrieves Web objects only if a user recently requested
the object. When you configure ISA Server to perform active caching more
frequently, ISA Server actively retrieves Web objects even if more time has
passed since a user last requested the object.

System load. When ISA Server determines that the number of current client
sessions is low, ISA Server updates the objects that are marked for active
caching as soon as 50% of the object’s current TTL has expired. As the
number of current client sessions approaches the maximum number of client
sessions that ISA Server allows, active caching only retrieves objects that
have a TTL that is close to expiring.


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status