Кэширование

Статус
Закрыто для дальнейших ответов.

FiRеFоX

V.I.P.
Регистрация
07.08.2010
Сообщения
744
Как сделать, чтобы кэшировалось абсолютно всё на сайте, кроме текста, т.к он часто изменяется?
 

FiRеFоX

V.I.P.
Регистрация
07.08.2010
Сообщения
744
Ответ кода сервера:
HTTP/1.1 200 OK
Server: nginx/1.0.6
Date: Sat, 06 Oct 2012 06:42:33 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.2.12
Set-Cookie: PHPSESSID=8cdaefe4ea436d67ab2dc4b72c14654d; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Строки Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 и Pragma: no-cache я так понимаю означают, что у меня нифига не кешируется?
в штакесе это стоит:
Код:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
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>
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 36000 seconds"
ExpiresByType text/html "access plus 36000 seconds"
ExpiresByType image/gif "access plus 864000 seconds"
ExpiresByType image/jpeg "access plus 864000 seconds"
ExpiresByType image/png "access plus 864000 seconds"
ExpiresByType text/css "access plus 432000 seconds"
ExpiresByType text/javascript "access plus 432000 seconds"
ExpiresByType application/x-javascript "access plus 432000 seconds"
</ifModule>
<ifModule mod_headers.c>
  <filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
    FileETag None
Header set Cache-Control "max-age=290304000, public"
Header unset Last-Modified
</filesMatch>
<filesMatch
"\.(css)$"> Header set Cache-Control "max-age=43200, public"
</filesMatch>
<filesMatch
"\.(js)$"> Header set Cache-Control "max-age=43200, private"
</filesMatch>
<filesMatch
"\.(xml|txt)$"> Header set Cache-Control "max-age=43200, public, must-revalidate"
</filesMatch>
<filesMatch
"\.(html|htm|php)$"> Header set Cache-Control "max-age=3600, private, must-revalidate"
</filesMatch>
</ifModule>
че не так?:(
 
Статус
Закрыто для дальнейших ответов.
Верх Низ