title: How to clear all cache in browser using ASP.net(C#)
body: <p>I tried to use this code for clear cache but It not working with Google Chrome.
  I need to clear all cache in browser or clear all website cache (not only one page)
  Ps: Most of code using widget DOJO javascript that why I need to clear all cache.</p>
  
  <pre><code>List&lt;string&gt; keys = new List&lt;string&gt;();
  // retrieve application Cache enumerator
  IDictionaryEnumerator enumerator = Cache.GetEnumerator();
  // copy all keys that currently exist in Cache
  while (enumerator.MoveNext())
  {
    keys.Add(enumerator.Key.ToString());
  }
  // delete every key from cache
  for (int i = 0; i &lt; keys.Count; i++)
  {
    Cache.Remove(keys[i]);
  }
  HttpRuntime.Close();
  </code></pre>
  
  <p>Thank you for every answers.</p>