Welcome! Log In Create A New Profile

Advanced

Re: Проблема с fastcgi cache

Oleksandr V. Typlyns'kyi
December 09, 2010 05:08AM
Today Dec 9, 2010 at 04:45 Disels wrote:

> Все работает нормально . Но если
> включить fastcgi_cache
> fastcgi_pass_header Set-Cookie;
> fastcgi_ignore_headers Cache-Control Expires;
> fastcgi_cache_key "$server_name$request_uri";
> fastcgi_cache fastcgi_cache;
> fastcgi_temp_path /nginx_cache/temp 1 2;
> fastcgi_cache_bypass $arg_nocache;
> fastcgi_cache_use_stale updating error timeout invalid_header http_500;
> fastcgi_cache_valid 10s;

> если gzip отключить вообще , то всем
> клиентам без исключения выдается
> мусор

Скорее всего дело в fastcgi_cache_bypass.
Добавьте ещё "fastcgi_no_cache $arg_nocache;"

--
WNGS-RIPE

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: Проблема с fastcgi cache

Oleksandr V. Typlyns'kyi December 09, 2010 05:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready