mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 10:16:39 +00:00
disable headline buffer caching for now
This commit is contained in:
@@ -140,7 +140,7 @@ function viewfeed(feed, subop, is_cat, offset) {
|
|||||||
|
|
||||||
console.log(query);
|
console.log(query);
|
||||||
|
|
||||||
var unread_ctr = -1;
|
/* var unread_ctr = -1;
|
||||||
|
|
||||||
if (!is_cat) unread_ctr = getFeedUnread(feed);
|
if (!is_cat) unread_ctr = getFeedUnread(feed);
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ function viewfeed(feed, subop, is_cat, offset) {
|
|||||||
request_counters();
|
request_counters();
|
||||||
remove_splash();
|
remove_splash();
|
||||||
|
|
||||||
} else {
|
} else { */
|
||||||
|
|
||||||
if (!is_cat) {
|
if (!is_cat) {
|
||||||
if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
|
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');
|
setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif');
|
||||||
headlines_callback2(transport, page_offset);
|
headlines_callback2(transport, page_offset);
|
||||||
} });
|
} });
|
||||||
}
|
// }
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("viewfeed", e);
|
exception_error("viewfeed", e);
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ function headlines_callback2(transport, feed_cur_page) {
|
|||||||
|
|
||||||
initHeadlinesMenu();
|
initHeadlinesMenu();
|
||||||
|
|
||||||
var cache_prefix = "";
|
/* var cache_prefix = "";
|
||||||
|
|
||||||
if (is_cat) {
|
if (is_cat) {
|
||||||
cache_prefix = "C:";
|
cache_prefix = "C:";
|
||||||
@@ -106,7 +106,7 @@ function headlines_callback2(transport, feed_cur_page) {
|
|||||||
if (!disable_cache) {
|
if (!disable_cache) {
|
||||||
cache_inject(cache_prefix + feed_id,
|
cache_inject(cache_prefix + feed_id,
|
||||||
$("headlines-frame").innerHTML, headlines_unread);
|
$("headlines-frame").innerHTML, headlines_unread);
|
||||||
}
|
} */
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
console.warn("headlines_callback: returned no data");
|
console.warn("headlines_callback: returned no data");
|
||||||
|
|||||||
Reference in New Issue
Block a user