]> git.wh0rd.org Git - tt-rss.git/commitdiff
gears: don't cache feedlist
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 4 Feb 2009 12:09:55 +0000 (15:09 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 4 Feb 2009 12:09:55 +0000 (15:09 +0300)
feedlist.js
tt-rss.js

index 753307d29c6e9fcf8bf81a60d6be448b1185db08..cd1d8b20ad942172b6f82a983d3899ddff901cbb 100644 (file)
@@ -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) {
index 49db3aea02bc22fd6e7e4510e5568f7508d1a27e..c4f9542c26f0adf7c04bbf6aee34e69d9ca15613 100644 (file)
--- 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");