Cache by mime type

Denis F. Latypoff latypoff at
Fri Jul 20 14:03:03 UTC 2012

20.07.2012, 20:57, "burn" <nginx-forum at>:
> Like the title says, can I cache images (or whatever) by mime type, not
> extension?


> The only relevant info I found is at
> However, the suggested config is not valid, because proxy directive
> cannot be used inside if.

forget about "if".

br, Denis F. Latypoff.

More information about the nginx mailing list