summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-05-13 21:55:40 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-05-17 10:43:49 +0200
commit77f3aa56b7bbb70534cdea52ab9c9978e74df525 (patch)
tree55707109a92a48ec66bf64faac4e917752b7a971 /web/template/pkg_search_results.php
parent3e81712fd6891516b24e216992edcb15c6a6113f (diff)
downloadaur-77f3aa56b7bbb70534cdea52ab9c9978e74df525.tar.gz
aur-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 'web/template/pkg_search_results.php')
0 files changed, 0 insertions, 0 deletions