Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 2.78 KB

File metadata and controls

33 lines (27 loc) · 2.78 KB
title Caching Constants
description This topic describes the constants that are defined in the Httpcach.h header file, with links to reference materials.
ms.date 10/07/2016
ms.assetid 8dd0b80e-62df-49fe-9ed7-dde4322ea324

Caching Constants

This topic describes the constants that are defined in the Httpcach.h header file.

Cache Name Constants

The following constants are used for returning values from the IHttpCacheKey::GetCacheName method for interfaces defined in the Httpcach.h file.

Constant Value Description
FILE_CACHE_NAME L"FILE" The IHttpCacheKey pointer may be safely downcast to an IFileKey pointer.
TOKEN_CACHE_NAME L"TOKEN" The IHttpCacheKey pointer may be safely downcast to an IHttpTokenKey pointer.
URI_CACHE_NAME L"URI" The IHttpCacheKey pointer may be safely downcast to an IUriKey pointer.

Remarks

Before you perform any downcast operation, always verify that the cast is correct to guarantee correct program behavior. Consider using the dynamic_cast operator whenever possible when you perform a downcast operation.

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 Httpcach.h

See Also

Web Server Core Constants
Creating Native-Code HTTP Modules