Maybe that’s the problem, I want to disable cache if the response header is 
true but not do anything if it is false. I can change my logic in creating this 
header to only have it on pages where cache should be disabled if it is not 
possible to use an IF statement around it. I will post my config here once I 
get rid of the sensitive things, but the confusing thing is that it worked, 
then it stopped working. 


Michael Friscia

Office of Communications
Yale School of Medicine

(203) 737-7932 – office
(203) 931-5381 – mobile


On 2/14/18, 4:39 PM, "nginx on behalf of webopsx" < on 
behalf of> wrote:

    The map is processed on each request and should be very consistent. 
    I thought you wanted to disable cache on the existence of a response header,
    not a request header.
    Otherwise I think we need more information to understand, such as how are
    you testing? Perhaps paste your full configuration here after removing any
    sensitive text.
    Posted at Nginx Forum:
    nginx mailing list

nginx mailing list

Reply via email to