Caching front page depending on cookie

Thomas Delonge lists at
Fri Sep 17 17:30:11 MSD 2010

If a user is not logged in, the front page is exactly the same. I asked
a question a while back and it worked for my scenario then:

That was when I had nginx on the front and apache on the back. I was
using a proxy. Now I'm using fastcgi.

How can I say something like "If a cookie is not set, serve the cached
page. Otherwise, pass to fast cgi".

I'm using a more recent development version of nginx.
Posted via

More information about the nginx mailing list