Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.57 KB

File metadata and controls

40 lines (31 loc) · 2.57 KB
title IHttpCachePolicy2 Interface
description Describes the IHttpCachePolicy2 interface and details the syntax, methods, derived classes, remarks, and requirements.
ms.date 10/07/2016
ms.assetid 873a0b2a-1dc8-482d-9adc-f407645ba6db

IHttpCachePolicy2 Interface

Provides CHttpModule derived classes access to the setting and getting policy for request caching.

Syntax

class IHttpCachePolicy2  

Methods

The following table lists the methods exposed by the IHttpCachePolicy2 class.

Name Description
IHttpCachePolicy2::SetForceUpdate Method Sets a value that indicates that the cache should be updated for a specific request or request variation.
IHttpCachePolicy2::IsForceUpdateSet Method Gets a value that determines if the force update flag has been set.

Derived Classes

This class contains no derived classes.

Remarks

CHttpModule derived classes that register for request or response events receive an IHttpContext pointer as a parameter on the corresponding virtual method.

Requirements

Type Description
Client - IIS 7.0 on [!INCLUDEwinvista]
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on [!INCLUDEwinsrv2008]
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- [!INCLUDEiisexp75], [!INCLUDEiisexp80], [!INCLUDEiisexp100]
Header Httpserv.h

See Also

Web Server Core Interfaces