Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida appa at perusio.net
Tue Mar 6 11:14:59 UTC 2012


> Bird brain me :-)
>
> What does this mean?
>
> ~SESS[[:alnum:]]+=(?<session_id>[[:graph:]]+) $session_id;
>
> Also 'if' is evil inside a location. Right ?

Not really. Here it's a mere return. From the famous IfIsEvil wiki page:

The only 100% safe things which may be done inside if in location context
are:

return ...;
rewrite ... last;

> On Tue, Mar 6, 2012 at 3:31 PM, Antonio P.P. Almeida
> <appa at perusio.net>wrote:
>
>> ~SESS[[:alnum:]]+=(?<session_id>[[:graph:]]+) $session_id;
>>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list