Caching front page depending on cookie

Thomas Delonge lists at ruby-forum.com
Fri Sep 17 18:11:59 MSD 2010


Igor Sysoev wrote:
> On Fri, Sep 17, 2010 at 03:30:11PM +0200, Thomas Delonge wrote:
> 
>> 
>> I'm using a more recent development version of nginx.
> 
> location = / {
>      fastcgi_pass    ...
>      fastcgi_cache   ...
>      fastcgi_cache_bypass  $cookie_NAME;
>      fastcgi_no_cache      $cookie_NAME;  # to not save response in 
> cache
> }
> 
> 
> --
> Igor Sysoev
> http://sysoev.ru/en/

So where is it caching it? And how can I be sure I've set it up right to 
see if it's serving the cached page? Thanks.
-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list