« Maps on the iPhone | Main | OneSpace 2010: Call for Papers »

Sunday, April 25, 2010

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Ivan Zuzak

"would it be possible to develop frameworks (maybe layered on top of local storage) that would allow apps to transparently (within certain boundaries, of course) interact with local storage as if they were connected?"

You probably know of this, but nevertheless - check out http://www.w3.org/TR/DataCache/. "This document defines APIs for off-line serving of requests to HTTP resources using static and dynamic responses. It extends the function of application caches defined in HTML5." Sounds like there's a lot of pieces of the puzzle available.

Sefi

How much can web cache store per webpage anyway? BTW, is your shift button broken?

Poshaughnessy

Interesting read, thanks.

Regarding Firefox, which you say has no "UI support for figuring out which sites have stored data". Perhaps this has changed since you wrote the article. In my Firefox 3.6.6 on the Mac, under Advanced - Network, it shows me "The following websites have stored data for offline use" and lists them in a box with a 'remove' button.

Unfortunately, clicking this remove button doesn't actually remove the cache. It removes it from the box, but if you go to about:cache or check the directory itself, you'll see the entries are still there. That was making me rather frustrated earlier today!

So, I agree it seems there's a long way still to go until browsers provide a good interface for all this. And not just for the end-user, but also for developers (e.g. it would save lots of banging heads against walls if it told you what the problem is when your cache manifest file is invalid).

dret

regarding browser controls: i am sure these are evolving very quickly. one thing i have noticed in the latest windows version of safari: it does have a preferences panel for "show databases", but that seems to display only SQL databases, and not the key/value local storage. since (current) HTML5 has decided to support both types of databases (and both are implemented in safari), it definitely makes no sense to have APIs for both types of databases, but a management UI for only one of them (and it's not even explained anywhere, you have to test and see what shows up in the panel and what doesn't).

milind

i have created this .html home page and open it in ipad safari and use option add to home screen and i got a icon like as app. now wanted this page should open while offline (without internet) using casche. is that possible?

The comments to this entry are closed.

Flickr