SYNCERのロゴ
アイキャッチ画像

Window.applicationCache - アプリケーションキャッシュ

applicationCacheは、Windowのプロパティです。ApplicationCacheを返します。

概要

名前
applicationCache
所属
Window
IDL
readonly attribute ApplicationCache applicationCache;
仕様書
https://html.spec.whatwg.org/multipage/offline.html#dom-applicationcache

説明

ApplicationCacheを返す。

デモ

Window.applicationCacheのデモです。

<!-- このコードは編集できます。 -->

<!DOCTYPE html>
<html>
<head>
<style>
body { word-break: break-all ; }
div#result { white-space: pre-wrap ; }
</style>
</head>
<body>
<div id="result"></div>
<script>
var resultElement = document.getElementById( "result" ) ;

var value = window.applicationCache ;

console.log( value ) ;
resultElement.textContent = value ;
</script>

</body>
</html>

サポート状況

ChromeFirefoxSafariEdgeIEOperaiOS SafariAndroid
42+ 56+ 10+
  • Twitterでシェア
  • Facebookでシェア
  • Google+でシェア
  • はてなブックマークでシェア
  • pocketに保存
  • LINEでシェア
更新履歴
2017年10月13日 (金)
コンテンツを公開しました。