CacheControlMaxAge

This property specifies the HTTP 1.1 cache control maximum age value. The range is 0 to &HFFFFFFFF (-1 or unlimited) , measured in seconds.

Note   &H represents VBScript hexadecimal format.

Data type Long
Default value Empty

By default, this property is not set and cache control directives are not sent

Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory/WebFile IIsWebFile

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_MD_CC_MAX_AGE
User type IIS_MD_UT_FILE