Welcome! Log In Create A New Profile

Advanced

Caching front page depending on cookie

Thomas Delonge
September 17, 2010 09:34AM
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:

http://www.ruby-forum.com/topic/210602

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 http://www.ruby-forum.com/.

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

Caching front page depending on cookie

Thomas Delonge September 17, 2010 09:34AM

Re: Caching front page depending on cookie

Igor Sysoev September 17, 2010 09:58AM

Re: Caching front page depending on cookie

Thomas Delonge September 17, 2010 10:18AM

Re: Caching front page depending on cookie

Igor Sysoev September 17, 2010 10:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
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