<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 26, 2009, at 4:51 PM, Jens Alfke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div><br></div><div>To repeat what I said up above: <b>Maybe the local storage API needs a way to distinguish between cached data that can be silently thrown away, and important data that can't.</b></div></div></div></div></blockquote></div><br><div>That makes sense to me. There might even be more than two categories:</div><div><br></div><div>- Cached for convenience - discarding this will affect performance but not functionality.</div><div>- Useful for offline use - discarding this will prevent some data from being accessed when offline.</div><div>- Critical for offline use - discarding this will prevent the app storing this data from working offline at all.</div><div>- Critical user data - discarding this will lead to permanent user data loss.</div><div><br></div><div>Regards,</div><div>Maciej</div><div><br></div></body></html>