WinJS.UI.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.UI.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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI.Fragments

Library

Base.js

See also

Samples
Loading HTML fragments sample (Windows)

 

 

Show:
© 2014 Microsoft