3
GWT的完美缓存documntation(http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#perfect_caching)建议将下列行添加到我的.htaccess文件:由于我没有使用.htaccess文件通过Apache 2.2 httpd.conf配置GWT缓存?
<Files *.nocache.*>
ExpiresActive on
ExpiresDefault "now"
Header merge Cache-Control "public, max-age=0, must-revalidate"
</Files>
<Files *.cache.*>
ExpiresActive on
ExpiresDefault "now plus 1 year"
</Files>
,但有机会获得Apache 2.2的httpd.conf文件我宁愿在那里添加那些行。
但是在哪里/如何?
感谢您的任何建议。