diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-07 19:33:52 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-07 19:43:13 -0500 |
commit | b2acd5cb94d0a675272048c1a3628152648911c1 (patch) | |
tree | 2ad9102aab22721be9acbf278359069a48e2fb19 /media/donate.gif | |
parent | cf7bf2de294a0e7be37f03935c0a292d60ed1829 (diff) |
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 'media/donate.gif')
0 files changed, 0 insertions, 0 deletions