Pierangelo Masarati wrote:
> Some ideas that came out of discussions at the Ubuntu Developer Summit this
> It would be nice for pcache to detect when connectivity to the remote server has
> been lost. In that case, cache expiration should be stopped, and the cache
> contents should remain intact until connectivity is restored.
> Also, when connectivity is restored, pcache should explicitly refresh all the
> entries it currently holds, rather than allowing them to be immediately expired.
Sounds an overkill?
Perhaps. It is certainly likely that any entries in the cache will be stale;
when connectivity is restored and expiration is re-enabled the cached entries
will probably be immediately removed. While it will be no problem to retrieve
the entries again since the network is available, the concern is that only a
subset of the originally cached entries will be retrieved through normal user
activity, but the entire set needs to be preserved in anticipation of the next
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/