Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fastcgi_cache
- To: nginx-ru@xxxxxxxxx
- Subject: fastcgi_cache
- From: "showmelove" <nginx-forum@xxxxxxxx>
- Date: Tue, 05 Jul 2011 08:04:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=lxpLBQIrWXVMcKUFcNYkhbZw61q/T3oHp40q69SMe7A=; b=tBH8xT2GOdRIwEUAALfU1EOpXGeLz7EZICggSnQQI0JxnL/gWalXz/Mv6hjCoEFXQrvQnABzdz6iA7p0kLk+UvTaPZCxiahos1jyo40HNrzJcALYP9aJNiMZnZRir6IW;
Здравствуйте, у меня одна проблема с
fastcgi_cache ...
location ~ \.php$ {
root /var/www/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/www/html$fastcgi_script_name;
include fastcgi_params;
fastcgi_pass_header Set-Cookie;
fastcgi_ignore_headers Cache-Control Expires
Set-Cookie;
fastcgi_cache_key
"$server_addr:$server_port$request_uri|$cookie_phpsessid";
fastcgi_cache fastcgi_cache;
fastcgi_temp_path /tmp/widework/temp 1 2;
fastcgi_cache_use_stale updating error timeout
invalid_header http_500;
fastcgi_cache_valid 10s;
fastcgi_cache_bypass $cookie_nocache;
fastcgi_no_cache $cookie_nocache;
}
В данном случае, если у человека есть
кука nocashe он не должен не отдавать кеш,
не сохранять кеш, но все равно это
делает, подскажите пожалуйста почему ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,211964,211964#msg-211964
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|