headline cache tweaks

This commit is contained in:
Andrew Dolgov 2007-11-21 10:59:22 +01:00
parent dd5865d466
commit 7e8832b3e2
1 changed files with 2 additions and 0 deletions

View File

@ -113,6 +113,8 @@ function headlines_callback2(transport, active_feed_id, is_cat, feed_cur_page) {
cache_prefix = "F:";
}
cache_invalidate(cache_prefix + active_feed_id);
cache_inject(cache_prefix + active_feed_id,
headlines.firstChild.nodeValue, headlines_unread);