Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fastcgi_cache не кеширует ответ
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@xxxxxxxxxx Attachment:
2262.log.gz
Description: GNU Zip compressed data
Attachment:
2965.log.gz
Description: GNU Zip compressed data
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|