Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











PROPERTY:  Response.CacheControl

The CacheControl property allows a proxy server to cache an Actice Server Page. A proxy server is used to speed up the retrieval of a web page by keeping a local copy of the web page in a cache.

The CacheControl property can only be set equal to "Public" or "Private". The pair of double quotes are required.

If the CacheControl property is set equal to "Public", then caching can occur.

If the CacheControl property is set equal to "Private", then caching cannot occur. By default, a proxy server will not keep a cache copy.

You can use Response.Expires and Response.ExpiresAbsolute to set a time and/or date limit on the existence of the cache.

<% Response.CacheControl = "Public" %>
<% Response.CacheControl = "Private" %>
 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information