commit | b5b1323835428335696db98db1378c41d11f76c1 | [log] [tgz] |
---|---|---|
author | weijin <taorui.wj@taobao.com> | Fri Apr 12 15:23:46 2013 -0600 |
committer | Leif Hedstrom <zwoop@apache.org> | Mon Apr 15 14:45:45 2013 -0600 |
tree | e56ed7e5f50248e4581bf2bb7d03bab4e5eed3ec | |
parent | b7b685165efb116d4a23567ba1e637653aef7d12 [diff] |
TS-621 Allow caching of empty docs (currently only if a header Content-Length: 0 is in the response). New config option is named proxy.config.http.cache.allow_empty_doc, and is disabled by default. We are aware this doesn't fully fix the problem, but is "good enough" for now. Reviews and minor cosmetic cleanup changes: James and Leif.