title: Add expire cache for images in JSP
body: <p>I am trying to cache images on my jsp page. </p>
  
  <p>I know that I can cache everything like this:</p>
  
  <pre><code>httpResponse.setDateHeader("Expires", System.currentTimeMillis() + 604800000L);
  </code></pre>
  
  <p>But I need to set expiration cache only for images. How can I do that? What is the easiest way?</p>
  
  <p>Thanks</p>