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 Windows Vista - IIS 7.5 on Windows 7 - IIS 8.0 on Windows 8 - IIS 10.0 on Windows 10 |
Server | - IIS 7.0 on Windows Server 2008 - 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 - IIS Express 7.5, IIS Express 8.0, IIS Express 10.0 |
Header | Httpcach.h |