firefoxのオフライン機能

firefoxの新バージョンではオフライン機能が付いている。実際のウェブ・アプリケーションのオフラインでの応用においては、4点のAPIが必要不可欠なものとなる。うち、WHATWG client-side storage、jar: URI schemeWHATWG online/offline events and status propertyはすでにWHATWGスペックとなっており、リソースをブラウザのオフライン・キャッシュに格納するも極めてシンプルでいずれ標準化されるはずで、これらのAPIを使うことでfirefoxだけでなく他のブラウザにおいてもオフライン機能を付けることが可能となる。普段ウェブ・アプリケーションはサーバーと対話しているがオフラインにおいてはデータをキャッシュではなくWHATWG client-side storageとかflashに格納して、キュー状態にしておきオンラインとなった時にデータを送り返す。ただしこのアプローチも完璧ではなく、gmailの強力なメールの全文検索機能などのサーバーをベースにした機能はブラウザ上ではうまく働かない。ただこれはインデックスをクライアントにアップロードすることやオフライン・キャッシュからjavaアプレットに取り込んで計算させることで回避できる。

the app would normally retrieve data from the server, it instead might grab some previously preloaded data. This would work well for email, calendar, CMS, and other applications. Of course the data has to be stored somewhere, and cookies won't cut it, which is where WHATWG client-side storage comes in (or another client-side storage solution, such as Flash's, if you prefer). Similarly, instead of sending data to the server, it will have to be queued and sent later when the user gets back online.
[...]
Of course, this approach is also not perfect. The main issue that I see right now is that some server-based functionality, such as full-text search, may just not perform well in the browser. (However, there may be ways around that, such as uploading an index to the client, or doing the computation in a Java applet loaded from the offline cache.) I'm glad to see other approaches growing up, such as the Dojo Offline Toolkit; hopefully we'll have a range of solutions to fit all needs.

http://weblogs.mozillazine.org/roc/archives/2007/02/offline_web_app.html
http://d.hatena.ne.jp/huixing/20070118/gmail