Welcome! Log In Create A New Profile

Advanced

Re: nginx 1.11 + fast-cgi cache + map + ssi

gz
February 28, 2018 04:15PM
Укажите флаг volatile, чтобы значения не кэшировались после первого вычисления в рамках основного запроса.

map $request_uri $fastcgi_cache_key {
volatile;

default $request_method|$host|$uri|$request_uri|$cookie_currency|$cookie_show_mode;
~^/objekti/.+ $request_method|$host|$uri|$request_uri|$cookie_currency|$http_x_requested_with;
~^/xml/yml.php $request_method|$host|$uri|$arg_type|$arg_nosim;
}
Subject Author Posted

nginx 1.11 + fast-cgi cache + map + ssi

Дмитрий Герасимов June 08, 2016 02:57PM

Re: nginx 1.11 + fast-cgi cache + map + ssi

gz February 28, 2018 04:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
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