Вход Регистрация
Файл: .htaccess
Строк: 30
<ifModule mod_expires.c> ExpiresActive On ExpiresDefault
"access plus 3600 seconds" ExpiresByType image/gif
"access plus 2592000 seconds" ExpiresByType image/jpeg
"access plus 2592000 seconds" ExpiresByType image/png
"access plus 2592000 seconds" ExpiresByType text/css
"access plus 604800 seconds" ExpiresByType text/javascript
"access plus 604800 seconds" ExpiresByType
application/x-javascript "access plus 604800
seconds" </ifModule> <ifModule mod_headers.c>
<filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch> <filesMatch ".(css|js)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch> <filesMatch ".(html|txt)$">
Header set Cache-Control "max-age=172800, public,
must-revalidate"
</filesMatch> </ifModule> <ifModule mod_headers.c>
<filesMatch
".(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header
unset ETag FileETag None
</filesMatch> </ifModule> <IfModule mod_deflate.c>
<FilesMatch ".(css|js|x?html?|php|xml)$">
SetOutputFilter DEFLATE
</FilesMatch> </IfModule> <ifModule mod_gzip.c>
mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file
.(css|js|x?html?|php|xml)$ mod_gzip_item_include handler
^cgi-script$ mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader
^Content-Encoding:.*gzip.* </ifModule>
Онлайн: 0
Реклама