caching features

Cache used to store temporary data on mobile (RSS feed, news, ...). Data are stored in RMS or in memory.

Advantages:


Warning:
The cache does not know whether the data are outdated.
The lifetime of the data must be managed by the developer.

Questions on the data to be registered in cache:


The cache access is done through Javacript APIs.


To use cache, use an URL in two part, separated by a comma.


example:


The cache is dependent on the widget. A widget cannot read another widget cache.
The cache scope is the current widget.

We cannot reuse data in cache between two widgets.