-api-id | -api-type |
---|---|
T:Windows.ApplicationModel.Background.ContentPrefetchTrigger |
winrt class |
Provides the ability to run custom handlers when prefetching web resources.
Developers can attach a handler to preload and cache web content so an app can launch and have its content refreshed and up to date. Accessing cached content helps reduce app activation time by not having to queue costly web requests.
In addition to custom tasks, the existing ContentPrefetcher API is still available and can be used instead of the custom task when the prerequisite work only involves preloading and caching content from a fixed or dynamic set of URIs.