clearCache function
Collapse the table of content
Expand the table of content

WinJS.Fragments.clearCache function

Applies to Windows and Windows Phone

Removes any cached info about the specified fragment. This method doesn't unload any scripts or styles that are referenced by the fragment.

Syntax


WinJS.Fragments.clearCache(href);

Parameters

href

Type: String

The URI that contains the fragment to be cleared. If no URI is provided, the entire contents of the cache are cleared.

Return value

This function does not return a value.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Fragments

See also

Samples
Loading HTML fragments sample (Windows)

 

 

Show:
© 2017 Microsoft