Proxy Cache TTL

Last reviewed: October 6, 1997
Article ID: Q164039
The information in this article applies to:
  • Microsoft Proxy Server versions 1.0 and 2.0

SUMMARY

This article describes the basic algorithms used by Microsoft Proxy Server to determine the cached item's Time To Live (TTL) value. For more detailed information, refer to the Caching section in the Proxy Server online documentation.

MORE INFORMATION

By default, the Web Proxy server is set to cache items. It determines the TTL for cached items in the following manner, listed in order of highest To lowest precedence:

  1. If the page to be cached has a preset cache TTL (defined in the HTTP "Expires" header), the Proxy Server caches it for this amount of time.

  2. If the administrator for the Proxy server sets an explicit TTL for a particular object (this can be done as described in Appendix D of the online documentation), then this time will be used.

  3. If no explicit TTL is set for the page, Proxy Server uses the following algorithm: The TTL is 20% of the time since the object was last modified (this is specified in the "Last-Modified" HTTP header), with a minimum value of 15 minutes (MIN Interval) and a maximum value of one day (MAX Interval).

Also note that many web pages can be marked as "uncacheable" by the web administrators of sites. These sites are usually marked this way so web administrators can accurately count page hits, or update Ad banners. These pages do not get cached (www.microsoft.com is one such web page).
Keywords          : kbother kbusage pxsgeneral pxshowto kbtshoot
Version           : 1.0 2.0
Platform          : WINDOWS
Hardware          : ALPHA x86
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.