다음을 통해 공유


Configuring ASP Change-Notification Caching

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.

Warning

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

  1. From the Start menu, click Run.

  2. In the Open box, type Regedit.exe, and then click OK.

  3. Navigate to the following subkey: HKLM\System\CurrentControlSet\Services\ASP\Parameters

  4. 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.

  5. Close the registry editor.