Configuring ASP Change-Notification Caching
Updated: August 22, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
IIS 6.0 provides a scalable change-notification mechanism for ASP pages. Because change notification occurs for unique directory structures, instead of for every directory, the number of work items required for change notification is reduced.
To specify change-notification caching or to change the TTL value of the cached files, you must edit the registry.
|Do not edit the registry unless you have no alternative. The registry editor bypasses standard safeguards, allowing settings that can damage your system, or even require you to reinstall Windows. If you must edit the registry, back it up first and see the IIS 6.0 Registry Reference.|
To set change-notification tracking or TTL for ASP files
From the Start menu, click Run.
In the Open box, type Regedit.exe, and then click OK.
Navigate to the following subkey: HKLM\System\CurrentControlSet\Services\ASP\Parameters
Do one or both of the following:
To enable change-notification caching, change the value of the registry entry EnableChangeNotificationForUNC by setting it to 1.
To change the TTL setting from the default of five seconds, change the value of the registry entry FileMonitoringTimeoutSeconds to the number of seconds you want to use.
- To enable change-notification caching, change the value of the registry entry EnableChangeNotificationForUNC by setting it to 1.
Close the registry editor.