Commit 5f655d5ad2ae7216a679c0a9088bb6838c7bb991
1 parent
f9e08bbf
image size
Showing
1 changed file
with
0 additions
and
86 deletions
Show diff stats
.htaccess
| ... | ... | @@ -77,90 +77,4 @@ AddDefaultCharset utf-8 |
| 77 | 77 | <IfModule mod_php5.c> |
| 78 | 78 | php_value upload_max_filesize 20M |
| 79 | 79 | php_value post_max_size 30M |
| 80 | -</IfModule> | |
| 81 | - | |
| 82 | - | |
| 83 | -1 | |
| 84 | -2 | |
| 85 | -3 | |
| 86 | -4 | |
| 87 | -5 | |
| 88 | -6 | |
| 89 | -7 | |
| 90 | -8 | |
| 91 | -9 | |
| 92 | -10 | |
| 93 | -11 | |
| 94 | -12 | |
| 95 | -13 | |
| 96 | -14 | |
| 97 | -15 | |
| 98 | -16 | |
| 99 | -17 | |
| 100 | -18 | |
| 101 | -19 | |
| 102 | -20 | |
| 103 | -21 | |
| 104 | -22 | |
| 105 | -23 | |
| 106 | -24 | |
| 107 | -25 | |
| 108 | -26 | |
| 109 | -27 | |
| 110 | -28 | |
| 111 | -29 | |
| 112 | -30 | |
| 113 | -31 | |
| 114 | -32 | |
| 115 | -33 | |
| 116 | -34 | |
| 117 | -35 | |
| 118 | -36 | |
| 119 | -37 | |
| 120 | -38 | |
| 121 | -39 | |
| 122 | -40 | |
| 123 | -41 | |
| 124 | -42 | |
| 125 | -# кеширование в браузере на стороне пользователя | |
| 126 | -<IfModule mod_expires.c> | |
| 127 | -ExpiresActive On | |
| 128 | -ExpiresDefault "access 7 days" | |
| 129 | -ExpiresByType application/javascript "access plus 1 year" | |
| 130 | -ExpiresByType text/javascript "access plus 1 year" | |
| 131 | -ExpiresByType text/css "access plus 1 year" | |
| 132 | -ExpiresByType text/html "access plus 7 day" | |
| 133 | -ExpiresByType text/x-javascript "access 1 year" | |
| 134 | -ExpiresByType image/gif "access plus 1 year" | |
| 135 | -ExpiresByType image/jpeg "access plus 1 year" | |
| 136 | -ExpiresByType image/png "access plus 1 year" | |
| 137 | -ExpiresByType image/jpg "access plus 1 year" | |
| 138 | -ExpiresByType image/x-icon "access 1 year" | |
| 139 | -ExpiresByType application/x-shockwave-flash "access 1 year" | |
| 140 | -</IfModule> | |
| 141 | - | |
| 142 | -# Cache-Control | |
| 143 | -<ifModule mod_headers.c> | |
| 144 | -# 30 дней | |
| 145 | -<filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$"> | |
| 146 | -Header set Cache-Control "max-age=2592000, public" | |
| 147 | -</filesMatch> | |
| 148 | -# 30 дней | |
| 149 | -<filesMatch "\.(css|js)$"> | |
| 150 | -Header set Cache-Control "max-age=2592000, public" | |
| 151 | -</filesMatch> | |
| 152 | -# 2 дня | |
| 153 | -<filesMatch "\.(xml|txt)$"> | |
| 154 | -Header set Cache-Control "max-age=172800, public, must-revalidate" | |
| 155 | -</filesMatch> | |
| 156 | -# 1 день | |
| 157 | -<filesMatch "\.(html|htm|php)$"> | |
| 158 | -Header set Cache-Control "max-age=172800, private, must-revalidate" | |
| 159 | -</filesMatch> | |
| 160 | -</ifModule> | |
| 161 | - | |
| 162 | -#Запрет отдачи HTTP-заголовков Vary браузерам семейства MSIE | |
| 163 | -<IfModule mod_setenvif.c> | |
| 164 | -BrowserMatch "MSIE" force-no-vary | |
| 165 | -BrowserMatch "Mozilla/4.[0-9]{2}" force-no-vary | |
| 166 | 80 | </IfModule> |
| 167 | 81 | \ No newline at end of file | ... | ... |