diff options
author | Roman Arutyunyan <arut@nginx.com> | 2014-11-19 17:33:23 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2014-11-19 17:33:23 +0300 |
commit | 8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3 (patch) | |
tree | 277572925380ec1e1ff31daf2ab1a2df9e032c4f /src/os/unix/ngx_linux_sendfile_chain.c | |
parent | bcf6b11a347303960003970614d1556c73bde4ae (diff) | |
download | nginx-8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3.tar.gz nginx-8898c97dbd493d1e8adcfaacdd6d19e8b471c2d3.zip |
Upstream: different header lists for cached and uncached requests.
The upstream modules remove and alter a number of client headers
before sending the request to upstream. This set of headers is
smaller or even empty when cache is disabled.
It's still possible that a request in a cache-enabled location is
uncached, for example, if cache entry counter is below min_uses.
In this case it's better to alter a smaller set of headers and
pass more client headers to backend unchanged. One of the benefits
is enabling server-side byte ranges in such requests.
Diffstat (limited to 'src/os/unix/ngx_linux_sendfile_chain.c')
0 files changed, 0 insertions, 0 deletions