apache tomcat IEcaching问题

我在端口80上运行apche2和tomcat6,并在ubuntu服务器上设置mod_jk(8.10,9.10)。 Tomcat正在用于提供jsp页面。 我IE浏览器有一个小问题,它不caching,但只刷新所有的图像(jpg | png | css)时刷新页面不与其他浏览器的哈希。 我也尝试在apacheconfiguration文件中添加以下内容,但是没有任何更改。

<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/css "access plus 1 month" ExpiresByType text/html "access plus 1 month" </IfModule> 

/etc/apache2/apache2.conf文件:

 Alias / /var/www/ ErrorDocument 503 /maintenance.html ErrorDocument 404 /maintenance.html JkMount / myworker JkMount /* myworker JkMount /*.jsp myworker JkUnMount /*.html myworker <VirtualHost *:80> ServerName station1.mydomain.com DocumentRoot /usr/share/tomcat/webapps/myapps1 JkMount /* myworker JkUnMount /*.html myworker </VirtualHost> <VirtualHost *:80> ServerName station2.mydomain.com DocumentRoot /usr/share/tomcat/webapps/myapps2 JkMount /* myworker JkMount /*.html myworker </VirtualHost> 

任何人有任何技巧,使IEcaching,而不是每次重新加载所有的图像?

我们没有太多的运气让IE来caching,直到像apache这样的configuration文件添加到匹配的图像和样式表扩展名的文件:

Header add Cache-Control "max-age=28800, public"