diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-08 02:33:52 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-08 02:43:13 +0200 |
commit | b2acd5cb94d0a675272048c1a3628152648911c1 (patch) | |
tree | 2ad9102aab22721be9acbf278359069a48e2fb19 /HACKING | |
parent | cf7bf2de294a0e7be37f03935c0a292d60ed1829 (diff) | |
download | archweb-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 'HACKING')
0 files changed, 0 insertions, 0 deletions