IResponse::get_CacheControl

IIS 6.0

The IResponse::get_CacheControl method retrieves a value for the CacheControl property.


HRESULT get_CacheControl(
      BSTR* pbstrCacheControl
);

pbstrCacheControl

[retval] [out] Points to a BSTR that receives the CacheControl value.

You can use the CacheControl value to override the default value which is Private. By setting the value to Public, proxy servers will be able to cache output from ASP pages.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Show: