オフラインWeb応用

AppCache (Web)

[31] AppCache は、クライアント側Webアプリケーションの関連ファイル一式を Webブラウザーキャッシュするための仕組みです。この機能は2007年に HTML5 に追加され、その後各 Webブラウザーで実装されました。

代替

[41] 現在では AppCache非推奨とされ、 Service Workers を使うのが望ましいと考えられています。

[63] かなり削除が進んできているようですね。

呼称

[25] 元々本機能全体を表す明確な用語はありませんでしたが、2011年頃から AppCache と呼ばれるようになっています。

構成要素

[37] AppCache の処理は navigatefetch構文解析器に組み込まれています。

歴史

[17] [whatwg] Offline Web Apps (2007-09-08 07:21:56 +09:00 版) http://www.mail-archive.com/whatwg@lists.whatwg.org/msg07556.html

[18] Latest proposal for offline web app API (Ian Hickson <ian@...> 著, 2007-09-21 10:36:07 +09:00 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/11832

[19] Re: Google Gears and HTML5 (Ian Hickson <ian@...> 著, 2007-10-09 07:03:00 +09:00 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/11960

[20] HTML5: Offline Web Applications - Anne’s Weblog (2007-10-07 02:38:50 +09:00 版) http://annevankesteren.nl/2007/10/offline

[50] Offline Web Applications () https://www.w3.org/TR/2008/NOTE-offline-webapps-20080530/

[21] Caching offline Web applications (Ian Hickson <ian@...> 著, 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/16043

[16] Re: Caching offline Web applications (Ian Hickson 著, 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/16623

[22] Bug 23165 - Add support for application cache dynamic entries ( 版) https://bugs.webkit.org/show_bug.cgi?id=23165

[23] Dynamic entries in the Application Cache removed (Ian Hickson 著, 版) http://lists.w3.org/Archives/Public/public-html/2009Jan/0287.html

[24] Firefox 3.1 for developers - MDC ( 版) https://developer.mozilla.org/ja/Firefox_3.1_for_developers#.E6.96.B0.E3.81.97.E3.81.8F.E3.82.B5.E3.83.9D.E3.83.BC.E3.83.88.E3.81.95.E3.82.8C.E3.81.9F.E6.A9.9F.E8.83.BD_2

HTML5 Offline Specification のサポートが完了しました。

[1] [whatwg] Appcache feedback (various threads) ( 版) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-January/030136.html

[2] Web Applications 1.0 r5812 Change the suggested extension for appcache manifests from .manifest to .appcache to avoid clashing with Microsoft's unregistered application/manifest type ( ( 版)) http://html5.org/tools/web-apps-tracker?from=5811&to=5812

[3] [whatwg] AppCache-related e-mails ( 版) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-June/031964.html

[4] [whatwg] AppCache-related e-mails ( ( 版)) http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-August/032771.html

[51] Offline web applications workshop - W3C Wiki () https://www.w3.org/wiki/Offline_web_applications_workshop

[52] Fixing Application Cache Community Group () https://www.w3.org/community/fixing-appcache/

[5] Web Applications 1.0 r6920 Remove vestiges of MIME type checking in appcache.Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=14701 ( ( 版)) http://html5.org/tools/web-apps-tracker?from=6919&to=6920

[6] [whatwg] Can we change the base URL of fallback entries in appcache manifests? and other feedback ( ( 版)) http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-May/035712.html

[7] Web Applications 1.0 r7136 Add a feature to appcache to make it possible to mark a cache as preferring online resources than cached resources. ( ( 版)) http://html5.org/tools/web-apps-tracker?from=7135&to=7136

[8] Bug 60493 – ApplicationCache - feature request for a way to override the fallback behavior ( ( 版)) https://bugs.webkit.org/show_bug.cgi?id=60493

[10] [whatwg] The src-N proposal ( ( 版)) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2013-November/041374.html

[11] Application Cache API ("AppCache") (Windows) ( ( 版)) http://msdn.microsoft.com/en-us/library/ie/hh673545(v=vs.85).aspx

[12] Bug 22702 – appcache: More detailed error information ( ( 版)) https://www.w3.org/Bugs/Public/show_bug.cgi?id=22702

[13] IRC logs: freenode / #whatwg / 20140213 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140213#l-467

[14] Re: [whatwg] AppCache Content-Type Security Considerations ( (Ian Hickson 著, 版)) http://lists.w3.org/Archives/Public/public-whatwg-archive/2014May/0076.html

[15] IRC logs: freenode / #whatwg / 20140515 ( ( 版)) http://krijnhoetmer.nl/irc-logs/whatwg/20140515#l-987

[28] [whatwg] Fwd: fallback section taking over for 4xx and 5xx responses while online ( ( 版)) http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-December/038292.html

ServiceWorker

[26] AppCache は広く実装されるに至りましたが、実用上の様々な問題から、 代替策が議論されるようになりました。

[27] 2013年以後 ServiceWorker の開発が進められ、 AppCache にかわるものとして期待されています。 AppCache への新機能の追加は保留状態となっています。

[29] Web Applications 1.0 r8739 Attempt to mitigate the injection elevation attack on appcache, and describe the attack in detail ( ( 版)) http://html5.org/r/8739

[30] Web Applications 1.0 r8791 Make appcache requests have no referrer, since it's not clear what referrer to use. ( ( 版)) https://html5.org/r/8791

[32] Web Applications 1.0 r8823 Mention cookie-bombing in the appcache section ( ( 版)) https://html5.org/r/8823

濫用

[34] >>33Cache-Control: no-cache の意味に AppCache を濫用する方法を提案しています。

関連

[35] AppCacheHTTPキャッシュbfcache のような Webブラウザーの他のキャッシュとは異なる仕組みで、 著者キャッシュの対象範囲を明示的に指定できるものとなっています。

[36] Necko/Cache/Offline - MozillaWiki ( 版) https://wiki.mozilla.org/Necko/Cache/Offline

[38] IRC logs: freenode / #whatwg / 20150816 ( 版) http://krijnhoetmer.nl/irc-logs/whatwg/20150816

# [17:37] <annevk> jojo-: the plan is to remove the appcache section and remove support from browsers

[39] Deprecate <keygen> and appcache · whatwg/html@1b43806 ( 版) https://github.com/whatwg/html/commit/1b438067d84da2ee95988842cdd8fe2655444936

[40] Integrate Fetch into HTML · whatwg/html@7c5555a ( 版) https://github.com/whatwg/html/commit/7c5555a16f2920c02244c10756bb2f1a11e87a22

[42] Fixes #265: Change whitelist/blacklist to safelist/blocklist · whatwg/html@cb3316d ( 版) https://github.com/whatwg/html/commit/cb3316db45e369ba31d97c5ee2dcd9c353a3cb5d

[43] Safari 4.0 ( 版) https://developer.apple.com/library/safari/releasenotes/General/WhatsNewInSafari/Articles/Safari_4_0.html#//apple_ref/doc/uid/TP40014305-CH4-SW16

WebKit now supports the HTML5 offline web applications standard, allowing a web application to dictate which resources it needs, causing WebKit to download them and serve them locally from disk, as well as serve updates to the web application atomically. The Safari 4 Developer Preview does not yet support dynamic or opportunistically cached entries.

[44] Application Cache API が廃止予定となりました | Firefox サイト互換性情報 ( 版) https://www.fxsitecompat.com/ja/docs/2015/application-cache-api-has-been-deprecated/

[45] Rewrite global object initialization to delegate to ES · whatwg/html@cf0355d ( 版) https://github.com/whatwg/html/commit/cf0355d7e0e229b98f7fbd51b8c7608010c787f5

[46] URLs are parsed and produce records · whatwg/html@30bc255 ( 版) https://github.com/whatwg/html/commit/30bc2557105ad62881ec9670f253febbc9761b44

[47] API Deprecations and Removals in Chrome 50 | Web Updates - Google Developers ( ()) https://developers.google.com/web/updates/2016/03/chrome-50-deprecations?utm_source=feed&utm_medium=feed&utm_campaign=updates_feed

[48] Remove appcache from shared workers (domenic著, ) https://github.com/whatwg/html/commit/3f1c84d682da30be5c323a43dfcc8995aae2f731

[49] Appcache. (mikewest著, ) https://github.com/w3c/webappsec-clear-site-data/commit/889a514a2e241451168b789e927cfdb8384fa5cd

[53] 460327 - remove opportunistic caching () https://bugzilla.mozilla.org/show_bug.cgi?id=460327

[54] 82066 - AppCache - feature request for a way to override the fallback behavior - chromium - Monorail () https://bugs.chromium.org/p/chromium/issues/detail?id=82066

[55] 181778 – AppCache: Log a Deprecation warning to the Console when AppCache is used () https://bugs.webkit.org/show_bug.cgi?id=181778

[56] Deprecations and removals in Chrome 67  |  Web  |  Google Developers () https://developers.google.com/web/updates/2018/04/chrome-67-deps-rems

[57] Deprecations and removals in Chrome 69  |  Web  |  Google Developers () https://developers.google.com/web/updates/2018/09/chrome-70-deps-rems

[58] Restrict application caches to secure contexts (annevk著, ) https://github.com/whatwg/html/commit/81344cc9f567bfafaed57805fd9cdf9f4a4237bf

[59] Restrict AppCache to secure contexts · Issue #3440 · whatwg/html () https://github.com/whatwg/html/issues/3440

[60] Integrate Fetch and "AppCache" or remove "AppCache" · Issue #151 · whatwg/html () https://github.com/whatwg/html/issues/151

[61] Restrict application caches to secure contexts by annevk · Pull Request #4149 · whatwg/html () https://github.com/whatwg/html/pull/4149

[62] AppCache Removal Plan - Google グループ () https://groups.google.com/a/chromium.org/forum/#!msg/blink-api-owners-discuss/ivh_NDBpjEs/7uA8iDWgAAAJ