]> git.wh0rd.org Git - tt-rss.git/commitdiff
disable headline buffer caching for now
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 28 Dec 2010 05:49:21 +0000 (08:49 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 28 Dec 2010 05:49:21 +0000 (08:49 +0300)
feedlist.js
viewfeed.js

index b475b9c5509dffdcc4b84ff69b1c98b999066544..b8dc473df0ce5ed09d85a9333f1bbd3d61f7723a 100644 (file)
@@ -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);
index fb562c5f79667ea4f83aa184ff4bd4c51bd50e9c..c6d747af311df271e19ff3cbc4626931dd3c4c56 100644 (file)
@@ -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");