title: Removing particular page from Frame cache
body: <p>I am caching the <code>Page</code> using the following code:</p>
  
  
  
  <pre><code>this.NavigationCacheMode = Windows.UI.Xaml.Navigation.NavigationCacheMode.Enabled;
  </code></pre>
  
  <p>But when I <strong>navigate back from the page</strong>, I want to <strong>remove the particular page</strong> from the cache.</p>
  
  <p>I am using the following code to remove the <code>Page</code> from the cache, but it results in all pages being removed from the cache.</p>
  
  
  
  <pre><code>var frame = Window.Current.Content as Frame;
  if (frame != null)
  {
      var cacheSize = ((frame)).CacheSize;
      ((frame)).CacheSize = 0;
      ((frame)).CacheSize = cacheSize;
  }
  </code></pre>
  
  <p>How can I remove only one particular page from the <code>Frame</code> cache?</p>