summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-08 02:33:52 +0200
committerDan McGee <dan@archlinux.org>2010-10-08 02:43:13 +0200
commitb2acd5cb94d0a675272048c1a3628152648911c1 (patch)
tree2ad9102aab22721be9acbf278359069a48e2fb19 /.gitattributes
parentcf7bf2de294a0e7be37f03935c0a292d60ed1829 (diff)
downloadarchweb-b2acd5cb94d0a675272048c1a3628152648911c1.tar.gz
archweb-b2acd5cb94d0a675272048c1a3628152648911c1.tar.xz
Store latest news date in memcached
This saves two database queries each request, meaning no database hits at all if we are just going to return a 304 response. It also requires adding a post_save signal to ensure our cache is updated with the correct latest news date upon saving a news item. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions