gears: don't cache feedlist

This commit is contained in:
Andrew Dolgov 2009-02-04 15:09:55 +03:00
parent 0e923da4bd
commit 10a127dbd1
2 changed files with 6 additions and 4 deletions

View 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) {

View File

@ -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");