diff options
author | elij <elij.mx@gmail.com> | 2011-05-13 12:55:40 -0700 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-05-17 10:43:49 +0200 |
commit | 77f3aa56b7bbb70534cdea52ab9c9978e74df525 (patch) | |
tree | 55707109a92a48ec66bf64faac4e917752b7a971 /.tx/config | |
parent | 3e81712fd6891516b24e216992edcb15c6a6113f (diff) | |
download | aurweb-77f3aa56b7bbb70534cdea52ab9c9978e74df525.tar.xz |
add support for etag and conditional get (if-none-match)
Add etag and if-none-match conditional get support. This will allow
'smart client' to save network bandwidth, as they can save the etag hash
value for queries and test it later. Still an http request because this
patch specifically sets a cache lifetime of zero, and must-revalidate.
The benefit here is bandwidth savings. Caching based on expires headers
would likely be counter productive, as the api data can change rather
quickly...but etag is a nice compromise, and could be quite beneficial
for bandwidth recution in some scenarios.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to '.tx/config')
0 files changed, 0 insertions, 0 deletions