From: Andrew Dolgov Date: Wed, 4 Feb 2009 12:09:55 +0000 (+0300) Subject: gears: don't cache feedlist X-Git-Tag: 1.3.1~98 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=10a127dbd10bb6d0b82d760ffe968dd11754abef;p=tt-rss.git gears: don't cache feedlist --- diff --git a/feedlist.js b/feedlist.js index 753307d2..cd1d8b20 100644 --- a/feedlist.js +++ b/feedlist.js @@ -69,8 +69,8 @@ function render_feedlist(data) { var f = document.getElementById("feeds-frame"); f.innerHTML = data; - cache_invalidate("FEEDLIST"); - cache_inject("FEEDLIST", data, getInitParam("num_feeds")); +// cache_invalidate("FEEDLIST"); +// cache_inject("FEEDLIST", data, getInitParam("num_feeds")); feedlist_init(); } catch (e) { diff --git a/tt-rss.js b/tt-rss.js index 49db3aea..c4f9542c 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -520,7 +520,7 @@ function init_second_stage() { daemon_refresh_only = getInitParam("daemon_refresh_only") == 1; feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1; - var fl = cache_find_param("FEEDLIST", getInitParam("num_feeds")); +/* var fl = cache_find_param("FEEDLIST", getInitParam("num_feeds")); if (fl) { render_feedlist(fl); @@ -531,7 +531,9 @@ function init_second_stage() { } } else { setTimeout('updateFeedList(false, false)', 50); - } + } */ + + setTimeout('updateFeedList(false, false)', 50); debug("second stage ok");