samedi 28 février 2015

Matching on content-type in htaccess

I know I can use FilesMatch "\.html$" like this:



<FilesMatch "\.html$">
Header set Pragma "public"
Header set Cache-Control "public, must-revalidate, proxy-revalidate"
</FilesMatch>


But this won't help if the html is delivered as a SEO friendly URL (like wordpress does), right?


I there a way to match on content-type equals text/html?


Aucun commentaire:

Enregistrer un commentaire