Skip to main content
ATL Server Library Reference 
IPageCacheControl::Cache 

Call this method to specify whether or not the current response should be cached.


BOOL Cache(
   BOOL bCache 
);

Parameters

bCache

Specify TRUE to allow the current response to be cached. Specify FALSE to prevent the current response from being cached.

Returns the previous value indicating whether or not the current response would have been cached.