1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-19 05:01:29 +00:00

rework caching, use html5 local storage

allow caching of headlines
code cleanup
This commit is contained in:
Andrew Dolgov
2011-08-31 14:03:52 +04:00
parent 81787bbf98
commit 78b2c6ce9a
5 changed files with 134 additions and 348 deletions

View File

@@ -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('')
}