From 10a127dbd10bb6d0b82d760ffe968dd11754abef Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 4 Feb 2009 15:09:55 +0300 Subject: [PATCH] gears: don't cache feedlist --- feedlist.js | 4 ++-- tt-rss.js | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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"); -- 2.39.5