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
Posted at Nginx Forum:
nginx mailing list