summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-31 14:03:52 +0400
committerAndrew Dolgov <[email protected]>2011-08-31 14:04:19 +0400
commit78b2c6ce9a0574433791cc7f3330bf8d729123d2 (patch)
tree13d2d7863251cbd185b4ab783e958575f0595902 /tt-rss.js
parent81787bbf9840a7f43bd40ecca00834b5b078eb31 (diff)
rework caching, use html5 local storage
allow caching of headlines code cleanup
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 7987be7ab..c8f4ab83e 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -330,8 +330,7 @@ function init_second_stage() {
loading_set_progress(30);
- if (has_local_storage())
- sessionStorage.clear();
+ cache_clear();
console.log("second stage ok");
@@ -565,12 +564,10 @@ function collapse_feedlist() {
}
function viewModeChanged() {
- cache_flush();
return viewCurrentFeed('')
}
function viewLimitChanged() {
- cache_flush();
return viewCurrentFeed('')
}