Cache by mime type

burn nginx-forum at
Sun Jul 22 09:27:44 UTC 2012

Thanks, that seems to work. But I still don't quite understand how. I
did use both directives with the same variable. Now when I set
"proxy_cache_bypass 0;", it seems to correctly cache images and serve
that cache. I'd imagine that unconditional 0 in that directive would
cause nothing being served from cache ever (as that variable is
considered first). By the way, my Nginx version is 1.3.1.

Posted at Nginx Forum:,228786,228836#msg-228836

More information about the nginx mailing list