title: How to force a web browser to cache Images
body: <p>I am writing a small application which serves images from the local computer, so they can be accessed as <a href="http://localhost:12345/something/something" rel="noreferrer">http://localhost:12345/something/something</a> (which returns a jpeg). </p>
  
  <p>How can I force the browser to cache this, so only a single request would be sent to the server. Would this header be sufficient</p>
  
  <pre><code>HTTP/1.1 200 OK
  Cache-Control: public, max-age=99936000
  Content-Length: 123456
  Content-Type: image/jpeg
  </code></pre>
  
  <p>This seems to work with Firefox 3.x but would it be sufficient globally for other browser as well?</p>