[PATCH] Proxy: Adding proxy_cache_key emedded variable

Maxim Dounin mdounin at mdounin.ru
Tue Nov 6 19:15:24 UTC 2018


Hello!

On Sat, Nov 03, 2018 at 09:00:02AM +0000, Thomas Peterson wrote:

> # HG changeset patch
> # User Thomas Peterson <hidinginthebbc at gmail.com>
> # Date 1541231609 0
> #      Sat Nov 03 07:53:29 2018 +0000
> # Node ID 41a499230eb674b1b3ec7cfd093f3a074f9a0d09
> # Parent  bddacdaaec9ef174504899f1528155f84bf60e59
> Proxy: Adding proxy_cache_key emedded variable
> 
> This value being able to be set as part of response headers allows for greater
> debugging of caching, and to permit analytics on cache-key distribution.

What's the expected difference with using the same value as in the 
proxy_cache_key directive?

Also, shouldn't this be $upstream_cache_key instead, to ensure 
that a single variable can be used for all protocol-specific 
modules?

[...]

-- 
Maxim Dounin
http://mdounin.ru/


More information about the nginx-devel mailing list