title: HttpCachePolicy and SSL
body: <p>I have an application that allows the user to download a csv. This works great when not using SSL. However, when using a secure connection I get the "Internet Explorer was not able to open this Internet Site". I know that the problem has to do with my HttpCaching policy. The following MS Support document explains the issue: <a href="http://support.microsoft.com/kb/316431" rel="nofollow noreferrer">http://support.microsoft.com/kb/316431</a> However, I cannot seem to get it to work. Any ideas?</p>
  
  <pre><code>HttpCachePolicy cachePolicy = Response.Cache;
          cachePolicy.SetCacheability(HttpCacheability.Private);
          cachePolicy.SetNoStore();
          cachePolicy.SetMaxAge(new TimeSpan(0L));
          cachePolicy.SetRevalidation(HttpCacheRevalidation.AllCaches);
  </code></pre>
  
  <p>I have tried a combination of different HttpCacheability types.</p>