title: Do browsers cache error responses?
body: <p>I am setting response headers for some requests as :</p>
  
  <pre><code>Cache-Control : "Private, max-age=21600";
  </code></pre>
  
  <p>If the same request fails, I retry for the same request. My doubt is whether browser caches such error responses, or not?</p>
  
  <p>I tried simulating this scenario using fiddler. I returned <code>404-not found</code> for a request and checked <code>chrome://cache</code>, the cache contained this response with 404. When I removed the request from fiddler then I got 200 OK.</p>
  
  <p>But still, I am not getting why browser had that 404 response in its cache?</p>
  
  <p>Thanks.</p>