Welcome! Log In Create A New Profile

Advanced

fastcgi_cache не кеширует ответ

Andrew Sitnikov
February 18, 2011 02:30AM
Hello ,

кусок конфига

location /js {
access_log off;

fastcgi_cache cache;

fastcgi_cache_valid 200 302 10m;
fastcgi_cache_valid 404 1m;
fastcgi_cache_key $request_uri;
fastcgi_cache_use_stale updating;

fastcgi_pass 127.0.0.1:9000;

include "/etc/nginx/params.d/fastcgi_params.conf";
fastcgi_param SCRIPT_FILENAME $document_root/index.php;
fastcgi_param SCRIPT_NAME /index.php;

fastcgi_hide_header X-Powered-By;

add_header X-Nginx-Cache "yes,js";
}

в аттаче - debug log (2262)

рядом точно такая же конфигурация /htmlbanner {} и там кешируется, лог 2965



--
Best regards,
Andrew mailto:sitnikov@infonet.ee_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Attachments:
open | download - 2262.log.gz (3.1 KB)
open | download - 2965.log.gz (5 KB)
Subject Author Posted

fastcgi_cache не кеширует ответ Attachments

Andrew Sitnikov February 18, 2011 02:30AM

Re: fastcgi_cache не кеширует ответ

Maxim Dounin February 18, 2011 07:34AM

Re: fastcgi_cache не кеширует ответ

Andrew Sitnikov February 18, 2011 07:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 196
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready