Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache_bypass and proxy_no_cache

December 10, 2012 04:02AM
I did this ( my cookie name is cahe )

map $cookie_cache $dont_cache {
0 1;
1 0;
}

proxy_cache_bypass $dont_cache;
proxy_no_cache $dont_cache;

But the first request which does not have the cookie is getting cached.

Regards
Amod
Subject Author Posted

proxy_cache_bypass and proxy_no_cache

amodpandey December 10, 2012 02:19AM

Re: proxy_cache_bypass and proxy_no_cache

António P. P. Almeida December 10, 2012 03:32AM

Re: proxy_cache_bypass and proxy_no_cache

amodpandey December 10, 2012 04:02AM

Re: proxy_cache_bypass and proxy_no_cache

Antonio P.P. Almeida December 10, 2012 04:28AM

Re: proxy_cache_bypass and proxy_no_cache

amodpandey December 10, 2012 04:31AM

Re: proxy_cache_bypass and proxy_no_cache

amodpandey December 10, 2012 05:15AM

Re: proxy_cache_bypass and proxy_no_cache

amodpandey December 10, 2012 05:22AM

Re: proxy_cache_bypass and proxy_no_cache

Igor Sysoev December 10, 2012 06:24AM

Re: proxy_cache_bypass and proxy_no_cache

Igor Sysoev December 10, 2012 06:26AM

Re: proxy_cache_bypass and proxy_no_cache

António P. P. Almeida December 10, 2012 03:56AM

Re: proxy_cache_bypass and proxy_no_cache

Antonio P.P. Almeida December 10, 2012 09:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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