[PATCH] Tests for proxy_cache_lock without serving stale.

Andrew Wheat andrew.wheat at bbc.co.uk
Tue Dec 4 11:27:07 UTC 2018


As mentioned in a previous patch [0], here is a patch against
http://hg.nginx.org/nginx-tests supplying the tests that check that
proxy_cache_lock can be used when proxy_cache_use_stale is set to off.

There are two cases:
Firstly when the upstream sets a 'Cache-Control' header, the response is
cached for the specified duration.
Secondly when proxy_cache_valid is used to define the cache duration.


[0]
http://mailman.nginx.org/pipermail/nginx-devel/2018-December/011658.html



-----------------------------
http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and
may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in
error, please delete it from your system.
Do not use, copy or disclose the
information in any way nor act in reliance on it and notify the sender
immediately.
Please note that the BBC monitors e-mails
sent or received.
Further communication will signify your consent to
this.
-----------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy_cache_lock-and-proxy_cache_use_stale.patch
Type: application/octet-stream
Size: 10179 bytes
Desc: proxy_cache_lock-and-proxy_cache_use_stale.patch
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20181204/8ec1b53d/attachment.obj>


More information about the nginx-devel mailing list