Re: Location support for multiple URLs

2013-05-09 Thread António P . P . Almeida
You can do that. At the http level set a map directive like: map $arg_act$arg_ID $no_cache { default 1; ~*detail[[:alnum:]]+ 0; # assuming the ID is alphanumeric } Then add: fastcgi_cache_bypass $no_cache; fastcgi_no_cache $no_cache; to your FastCGI cache configuration. As per the he

Re: Location support for multiple URLs

2013-05-08 Thread Edho Arief
On Sun, Apr 7, 2013 at 12:34 AM, Typlo wrote: > > Hello, > I would like to use the FastCGI cache feature of nginx for my web > application. But I need to use it only for a set of URL. > > I would like to use it for the following locations: > > http://domain.com/index.php?act=detail&ID=[ANY ID HER

Location support for multiple URLs

2013-04-06 Thread Typlo
Hello,I would like to use the FastCGI cache feature of nginx for my web application. But I need to use it only for a set of URL.I would like to use it for the following locations:http://domain.com/index.php?act=detail&ID=[ANY ID HERE]Example:http://domain.com/index.php?act=detail&id=o2ZimgAnd so on