[PATCH] Upstream: fastcgi_cache_convert_head directive.

Maxim Dounin mdounin at mdounin.ru
Tue Jan 23 12:32:49 UTC 2018


Hello!

On Mon, Jan 22, 2018 at 09:43:42PM +0200, Gena Makhomed wrote:

> # HG changeset patch
> # User Gena Makhomed <gmm at csdoc.com>
> # Date 1516650013 -7200
> #      Mon Jan 22 21:40:13 2018 +0200
> # Node ID 4f635c5c8da929eb1e25bc8fbce7d7d5726468cf
> # Parent  cbf59d483c9cd94dc0fb05f1978601d02af69c20
> Upstream: fastcgi_cache_convert_head directive.
> 
> The directive toggles conversion of HEAD to GET for cacheable fastcgi 
> requests.
> When disabled, $request_method must be added to cache key for consistency.
> By default, HEAD is converted to GET as before.
> 
> After previous patch http://hg.nginx.org/nginx/rev/4d5ac1a31d44
> HEAD is not converted to GET as before for cacheable fastcgi requests.
> 
> This patch fixes fastcgi cache regression introduced
> by patch http://hg.nginx.org/nginx/rev/4d5ac1a31d44

Please elaborate.  We aren't aware of any cache regressions 
introduced by 4d5ac1a31d44.  Also, I don't see how the change in 
question can introduce one, or the suggested patch can fix it.

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


More information about the nginx-devel mailing list