Project

General

Profile

Actions

Task #4344

open

NsCache in IterativeQueryController Need to check FreshnessPeriod before using cached data

Added by Yumin Xia about 7 years ago. Updated about 7 years ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
10/16/2017
Due date:
% Done:

0%

Estimated time:

Description

Currently, NsCache does not check TTL/FreshnessPeriod, when retrieving data from cache.

Solution:
If data is in the cache:

  1. check TTL.
  2. if valid, return data.
  3. if not, remove data from cache, fetch record from network.
Actions

Also available in: Atom PDF