diff options
author | Andrew Dolgov <[email protected]> | 2011-08-31 15:25:42 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-08-31 16:15:01 +0400 |
commit | 37c03d3a420853b61348de87150a69a567c00146 (patch) | |
tree | de39fcfc127af3a7b7a9492bae9689628471e299 /tt-rss.js | |
parent | 165c88ff3166825dcccfa2d30a9c3574e64c8549 (diff) |
implement automatic precaching for next normal and unread feeds
allow opening cached next_unread_feed on f-q if available
tweak getRelativeArticles() to scan forward only
reenable prefetch_old server requests
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -330,7 +330,9 @@ function init_second_stage() { loading_set_progress(30); - cache_clear(); + // can't use cache_clear() here because viewfeed might not have initialized yet + if ('sessionStorage' in window && window['sessionStorage'] !== null) + sessionStorage.clear(); console.log("second stage ok"); |