title: Store Stream in cache
body: <p>I'd like to cache the response I get from a HttpWebRequest. I need both the ResponseStream and the headers. Using <code>HttpRequestCachePolicy(HttpCacheAgeControl.MaxAge, TimeSpan.FromDays(1))</code> when creating the request doesn't seem to work (IsFromCache is never true for some reason), and I'm a bit scared of manually caching the entire HttpWebResponse since it's containing a stream of gzipped data, and I have a bad feeling about storing streams in the ASP.NET cache.</p>
  
  <p>The response is mapped to an object like this (simplified):</p>
  
  <pre><code>public readonly Stream Response;
  public readonly string Etag;
  
  private MyObject(Stream response, string etag)
  {
      this.Response = response;
      this.Etag = etag;
  }
  </code></pre>
  
  <p>Since the object also contains the response stream I face the same issue here.</p>
  
  <p>How do I cache this?</p>