Welcome! Log In Create A New Profile

Advanced

Re: Help: cache or not by cookie

July 09, 2009 03:05AM
On Wed, Jul 08, 2009 at 06:40:49PM -0400, nfn wrote:

> Hello,
>
> Sorry for bumping this topic but I was trying to setup a similar configuration.
> I want to show cached pages for a refresh of 6 min to guests (cookie user=guest) and to members (cookie user=usergroup)

proxy_cache_key "http://cacheserver$request_uri $cookie_user";
proxy_cache_valid 6m;

> Am I able to read the value from the cookie? How?
> How do I add X-Accel-Expires: 0 to nginx?

You should add this header in backend.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Help: cache or not by cookie

tonyy June 20, 2009 06:54AM

Re: Help: cache or not by cookie

Igor Sysoev June 20, 2009 09:24AM

Re: Help: cache or not by cookie

Igor Sysoev June 22, 2009 07:32AM

Re: Help: cache or not by cookie

tonyy June 20, 2009 10:04AM

Re: Help: cache or not by cookie

tonyy June 22, 2009 09:53AM

Re: Help: cache or not by cookie

nfn July 08, 2009 06:40PM

Re: Help: cache or not by cookie

Igor Sysoev July 09, 2009 03:05AM

Re: Help: cache or not by cookie

nfn July 09, 2009 06:05AM

Re: Help: cache or not by cookie

Igor Sysoev July 09, 2009 10:26AM

Re: Help: cache or not by cookie

ned0r September 03, 2009 06:53PM

Re: Help: cache or not by cookie

Igor Sysoev September 04, 2009 06:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready