tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Bottner" <>
Subject How do you set cache-control for static (gif, jpg) resources
Date Fri, 30 Jul 2004 12:52:45 GMT
I am trying to find out how I can set my static content for images,
javascript and css to have a different cache-control setting. It appears
that Tomcat always returns Cache-Control: no-cache with every response. I
want to specify certain static resources such as gif and jpg to have
Cache-Control: public,max-age=7200.
Does anyone know how to configure Tomcat to do this? I have Googled
everywhere with no luck!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message