title: Enable cache of J2EE web application's resources
body: <p>How can I control my web application's resource handling?</p>
  
  <p>I have users with extremely high latency times (~1s!) and I must test my application in such environments. What I can see right away is that my resources (css and image files) are always reloaded on every page, probably because the response header contains an Expire tag that does not allow for any browser caching.</p>
  
  <p>How can I tell the ?resoure adapter? to set it to some reasonable value? Are there any other ways to improve bad latency effects?</p>
  
  <p>Environment: Glassfish v3, JSF2 and Primefaces.</p>