Partager via


How to: Update Cached Resources

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

To improve performance of speech applications, Speech Server can cache (or preload) resources required by the applications, such as grammars and prompt databases. Resources to preload are specified in the manifest file for each application (if provided) and are automatically cached when the application is enabled.

For the most part, cached resources are maintained automatically by Speech Server. The system generally knows if resources have changed since being cached and reloads them if necessary on an ongoing basis. However, you can manually update the cache at any time, which forces Speech Server to revalidate and reload all application resources for a particular server.

You can update cached resources using the Speech Server Administrator console or the command line.

Note

You can also update the resource cache using Windows Management Instrumentation (WMI) scripts. For more information, see the InvalidateCache method in MSS Class.

Updating Cached Resources

To update cached resources using the Administrator console

  1. Open the Speech Server Administrator console.

    For more information, see How to: Start the Speech Server Administrator Console.

  2. In the console tree, double-click Speech Server, double-click the applicable group, and then click Servers.

  3. In the details pane, right-click the computer, point to All Tasks, and then click Update Cached Resources.

  4. Click OK in the confirmation box.

To update cached resources using the command line

  1. Click Start, click Run, type cmd, and then click OK.

  2. At the command prompt, type sc control MSSspeechService 131, and then press ENTER.

See Also

Tasks

How to: Specify an Application Manifest File for Preloaded Resources