Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.03 KB

contentprefetchtrigger.md

File metadata and controls

23 lines (16 loc) · 1.03 KB
-api-id -api-type
T:Windows.ApplicationModel.Background.ContentPrefetchTrigger
winrt class

Windows.ApplicationModel.Background.ContentPrefetchTrigger

-description

Provides the ability to run custom handlers when prefetching web resources.

-remarks

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.

-examples

-see-also

IBackgroundTrigger