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文件我寧願在那裏添加那些行。
但是在哪裏/如何?
感謝您的任何建議。