Compartilhar via


WinJS.Fragments.clearCache function

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)