proxy_cache not honoring pragma/cache-control settings

Igor Sysoev igor at
Sun Jun 5 10:23:58 MSD 2011

On Sun, Jun 05, 2011 at 02:20:24AM -0400, pk899 wrote:
> Yes I have this: 
>    proxy_ignore_headers        Cache-Control Expires;
> Is this why this is happening?

Yes, nginx ignores these headers in backend response.
And, as I already said Pragma means nothing.

Igor Sysoev

More information about the nginx mailing list