Всем, привет! Не могу отключить кэширование страницы в Wordpress. Я конфижу
Nginx мой ключ кеша fastcgi_cache_key
"$request_method|$http_if_modified_since|$http_if_none_match|$host|$request_uri";
        fastcgi_cache_use_stale error timeout updating invalid_header
http_500;

        set $no_cache 0;
Задача:
на некоторых страницах вырубить кэш. Делаю такое: if ($request_uri ~*
"/custom-order/|/complete-order/") {
                set $no_cache 1;
        }
Не работает. Что не так?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?21,292100,292100#msg-292100

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

Ответить