Welcome! Log In Create A New Profile

Advanced

Re: отрицание в fastcgi no cache

June 08, 2010 09:24AM
On Tue, Jun 08, 2010 at 09:00:29AM -0400, isit wrote:

> Добрый день.
>
> http://sysoev.ru/nginx/docs/http/ngx_http_fastcgi_module.html#fastcgi_no_cache
>
> Можно ли как-то указать в этой директиве не кешировать при [b]отсутствии[/b] какой-либо переменной?

Сейчас - нет. Если у переменной фиксированные значения, то:

map $var1 $var2 {
default 0;
abc 1;
def 1;
}

--
Игорь Сысоев
http://sysoev.ru

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

Re: отрицание в fastcgi no cache

Igor Sysoev June 08, 2010 09:24AM

Re: отрицание в fastcgi no cache

isit June 08, 2010 09:39AM

Re: отрицание в fastcgi no cache

Igor Sysoev June 08, 2010 09:42AM

Re: отрицание в fastcgi no cache

isit June 08, 2010 09:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready