IResponse::get_CacheControl

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

HRESULT get_CacheControl(
      BSTR* pbstrCacheControl
);

Parameters

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

Remarks

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.

Requirements

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

See Also