DisableStaticFileCache Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The DisableStaticFileCache property specifies the caching of static files for a directory and is disabled on a per-request basis. If DisableStaticFileCache = 1, static files are not cached for the specified directory. Note: Active Server Pages (ASP) files and templates are cached independently of this setting. This property may be set on any valid virtual directory and applies to the virtual directory root and any subdirectories.

The DisableStaticFileCache property is used when multiple virtual directories are created on Universal Naming Convention (UNC) shares and are secured with individual identities and access control lists (ACLs) to fully secure files from access by unauthorized users. For this configuration scenario, not setting this property would potentially allow unauthorized access to a site’s files in the cache through other security identities.

The DisableStaticFileCache property may also be set to permit case-sensitive requests for files that are stored in virtual directories located on network file system (NFS) volumes and accessed through an NFS client, such as one provided by Services For Unix (SFU).

The static file cache may alternatively be disabled at the machine level through the registry key HKLM\System\CurrentControlSet\Services\inetinfo\parameters\DisableMemoryCache.

Disabling the static file cache will, in most cases, reduce the Web server request handling performance. However, the effect may be negligible if requests are broadly and randomly distributed across a large number of files.

Attribute Name Attribute Value

XML Data Type


WMI Data Type


ADSI Data Type


ABO Data Type


ABO Metabase Identifier




Default Value




User Type




Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type




Code Example

For general code examples, see Code Examples to Configure Metabase Properties.