Мне нужна помощь специалистов.
Я пытаюсь смешать два файла htaccess
Первый:
<IfModule mod_mime.c>
<FilesMatch "\.html\.gz$">
ForceType text/html
FileETag None
</FilesMatch>
AddEncoding gzip .gz
AddType text/html .gz
</IfModule>
<IfModule mod_deflate.c>
SetEnvIfNoCase Request_URI \.gz$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Cache-Control 'max-age=300, must-revalidate'
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html A300
</IfModule>
Второй:
<FilesMatch "\.(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
<FilesMatch "\.(js|css|pdf|txt)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
<FilesMatch "\.(html|htm)$">
Header set Cache-Control "max-age=43200"
</FilesMatch>
Первый файл используется плагином wp-supercache (worpress)
Мне бы этого хотелось
image files Cache-Control = 2592000
files as css e js Cache-Control = 604800
files htm had Cache-Control = 43200
Но хотелось бы не терять функциональности плагина и по этой причине я прошу помощи.
Большое спасибо и извините за мой английский
Vera