From: Andrew Dolgov Date: Tue, 28 Dec 2010 05:49:21 +0000 (+0300) Subject: disable headline buffer caching for now X-Git-Tag: 1.5.1~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ca7b020e0f55edab3807e29c6a0bd845a05ee4ea;p=tt-rss.git disable headline buffer caching for now --- diff --git a/feedlist.js b/feedlist.js index b475b9c5..b8dc473d 100644 --- a/feedlist.js +++ b/feedlist.js @@ -140,7 +140,7 @@ function viewfeed(feed, subop, is_cat, offset) { console.log(query); - var unread_ctr = -1; +/* var unread_ctr = -1; if (!is_cat) unread_ctr = getFeedUnread(feed); @@ -170,7 +170,7 @@ function viewfeed(feed, subop, is_cat, offset) { request_counters(); remove_splash(); - } else { + } else { */ if (!is_cat) { if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif')) @@ -185,7 +185,7 @@ function viewfeed(feed, subop, is_cat, offset) { setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif'); headlines_callback2(transport, page_offset); } }); - } +// } } catch (e) { exception_error("viewfeed", e); diff --git a/viewfeed.js b/viewfeed.js index fb562c5f..c6d747af 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -93,7 +93,7 @@ function headlines_callback2(transport, feed_cur_page) { initHeadlinesMenu(); - var cache_prefix = ""; +/* var cache_prefix = ""; if (is_cat) { cache_prefix = "C:"; @@ -106,7 +106,7 @@ function headlines_callback2(transport, feed_cur_page) { if (!disable_cache) { cache_inject(cache_prefix + feed_id, $("headlines-frame").innerHTML, headlines_unread); - } + } */ } else { console.warn("headlines_callback: returned no data");