Welcome! Log In Create A New Profile

Advanced

fastcgi_cache

July 05, 2011 08:04AM
Здравствуйте, у меня одна проблема с 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 он не должен не отдавать кеш, не сохранять кеш, но все равно это делает, подскажите пожалуйста почему ?
Subject Author Posted

fastcgi_cache

showmelove July 05, 2011 08:04AM

Re: fastcgi_cache

showmelove July 05, 2011 09:10AM

Re: fastcgi_cache

Maxim Dounin July 11, 2011 09:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready