From: Andrew Dolgov Date: Wed, 21 Nov 2007 09:59:22 +0000 (+0100) Subject: headline cache tweaks X-Git-Tag: 1.2.18~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7e8832b3e210139b247150831b22bda5c345d06d;p=tt-rss.git headline cache tweaks --- diff --git a/viewfeed.js b/viewfeed.js index 9c41992b..1968c377 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -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);