diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-10-27 21:14:10 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-10-27 21:14:10 +0300 |
commit | 6255935e0fc6732dd06323085a22209103322c6a (patch) | |
tree | 951d50475de5e1a9a8aac0dc38cbec21f2b9448b /src/os/unix/ngx_os.h | |
parent | 83f00adc9b03197efac7e6b1c0100df6a7e4052f (diff) | |
download | nginx-6255935e0fc6732dd06323085a22209103322c6a.tar.gz nginx-6255935e0fc6732dd06323085a22209103322c6a.zip |
Cache: multiple variants of a resource now can be stored.
If a variant stored can't be used to respond to a request, the variant
hash is used as a secondary key.
Additionally, if we previously switched to a secondary key, while storing
a response to cache we check if the variant hash still apply. If not, we
switch back to the original key, to handle cases when Vary changes.
Diffstat (limited to 'src/os/unix/ngx_os.h')
0 files changed, 0 insertions, 0 deletions