【发布时间】:2015-05-01 09:38:45
【问题描述】:
我知道我可以像这样使用FilesMatch "\.html$":
<FilesMatch "\.html$">
Header set Pragma "public"
Header set Cache-Control "public, must-revalidate, proxy-revalidate"
</FilesMatch>
但是,如果 html 是作为 SEO 友好的 URL 提供的(就像 wordpress 一样),这将无济于事,对吧?
我有办法匹配内容类型等于text/html?
【问题讨论】:
标签: wordpress .htaccess content-type mime