• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web 开发技术
  2. Web API 接口参考
  3. Window
  4. window.applicationCache
  • Change language
  • View in English

Table of contents

  • 概要
  • 语法
  • 规范
  • 参见

window.applicationCache

概要

返回该window 中的应用缓存对象的一个引用。

语法

cache = window.applicationCache

参数

  • cache 对象是一个 OfflineResourceList 的引用。

规范

  • HTML 5REC

参见

  • 使用应用缓存

Found a problem with this page?

  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 17, 2021, by MDN contributors

Change your language

Related Topics

  1. Window
  2. 属性
    1. This deprecated API should no longer be used, but will probably still work. applicationCache
    2. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 caches
    3. closed
    4. console
    5. This API has not been standardized. controllers
    6. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 crossOriginIsolated
    7. crypto
    8. customElements
    9. This is an obsolete API and is no longer guaranteed to work. defaultStatus
    10. devicePixelRatio
    11. This deprecated API should no longer be used, but will probably still work. dialogArguments
    12. This is an obsolete API and is no longer guaranteed to work. directories
    13. document
    14. event
    15. frameElement
    16. frames
    17. This API has not been standardized. fullScreen
    18. history
    19. indexedDB
    20. innerHeight
    21. innerWidth
    22. isSecureContext
    23. isSecureContext
    24. length
    25. localStorage
    26. location
    27. locationbar
    28. menubar
    29. This is an obsolete API and is no longer guaranteed to work. mozAnimationStartTime
    30. mozInnerScreenX
    31. mozInnerScreenY
    32. This API has not been standardized. This deprecated API should no longer be used, but will probably still work. mozPaintCount
    33. name
    34. navigator
    35. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onabort
    36. onafterprint
    37. onanimationcancel
    38. onanimationend
    39. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onanimationiteration
    40. This is an obsolete API and is no longer guaranteed to work. onappinstalled
    41. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onauxclick
    42. onbeforeinstallprompt
    43. onbeforeprint
    44. onbeforeunload
    45. onblur
    46. oncancel
    47. oncanplay
    48. oncanplaythrough
    49. onchange
    50. onclick
    51. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onclose
    52. oncontextmenu
    53. oncuechange
    54. ondblclick
    55. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ondevicelight
    56. ondevicemotion
    57. ondeviceorientation
    58. ondeviceorientationabsolute
    59. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ondeviceproximity
    60. This is an obsolete API and is no longer guaranteed to work. ondragdrop
    61. ondurationchange
    62. onended
    63. onerror
    64. onfocus
    65. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onformdata
    66. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ongamepadconnected
    67. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ongamepaddisconnected
    68. ongotpointercapture
    69. onhashchange
    70. oninput
    71. oninvalid
    72. onkeydown
    73. onkeypress
    74. onkeyup
    75. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onlanguagechange
    76. onload
    77. onloadeddata
    78. onloadedmetadata
    79. onloadend
    80. onloadstart
    81. onlostpointercapture
    82. onmessage
    83. onmessageerror
    84. onmousedown
    85. onmouseenter
    86. onmouseleave
    87. onmousemove
    88. onmouseout
    89. onmouseover
    90. onmouseup
    91. This API has not been standardized. This is an obsolete API and is no longer guaranteed to work. onmozbeforepaint
    92. This API has not been standardized. onpaint
    93. onpause
    94. onplay
    95. onplaying
    96. onpointercancel
    97. onpointerdown
    98. onpointerenter
    99. onpointerleave
    100. onpointermove
    101. onpointerout
    102. onpointerover
    103. onpointerup
    104. onpopstate
    105. onrejectionhandled
    106. onreset
    107. onresize
    108. onscroll
    109. onselect
    110. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onselectionchange
    111. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onselectstart
    112. onstorage
    113. onsubmit
    114. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ontouchcancel
    115. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 ontouchstart
    116. ontransitioncancel
    117. ontransitionend
    118. onunhandledrejection
    119. onunload
    120. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onuserproximity
    121. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplayactivate
    122. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplayblur
    123. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplayconnect
    124. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplaydeactivate
    125. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplaydisconnect
    126. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplayfocus
    127. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplaypointerrestricted
    128. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplaypointerunrestricted
    129. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 onvrdisplaypresentchange
    130. onwheel
    131. opener
    132. origin
    133. outerHeight
    134. outerWidth
    135. pageXOffset
    136. pageYOffset
    137. parent
    138. performance
    139. personalbar
    140. This is an obsolete API and is no longer guaranteed to work. pkcs11
    141. screen
    142. screenLeft
    143. screenTop
    144. screenX
    145. screenY
    146. scrollbars
    147. This API has not been standardized. scrollMaxX
    148. This API has not been standardized. scrollMaxY
    149. scrollX
    150. scrollY
    151. self
    152. sessionStorage
    153. This API has not been standardized. sidebar
    154. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 speechSynthesis
    155. status
    156. statusbar
    157. toolbar
    158. top
    159. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 visualViewport
    160. window
  3. 方法
    1. alert()
    2. atob()
    3. This API has not been standardized. This is an obsolete API and is no longer guaranteed to work. back()
    4. blur()
    5. btoa()
    6. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 cancelAnimationFrame()
    7. cancelIdleCallback()
    8. This API has not been standardized. captureEvents()
    9. clearImmediate()
    10. clearInterval()
    11. clearTimeout()
    12. close()
    13. confirm()
    14. This API has not been standardized. convertPointFromNodeToPage()
    15. This API has not been standardized. convertPointFromPageToNode
    16. createImageBitmap()
    17. This API has not been standardized. dump()
    18. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 fetch()
    19. This API has not been standardized. find()
    20. focus()
    21. This API has not been standardized. This deprecated API should no longer be used, but will probably still work. This is an obsolete API and is no longer guaranteed to work. forward()
    22. getComputedStyle()
    23. getDefaultComputedStyle()
    24. getSelection()
    25. This is an obsolete API and is no longer guaranteed to work. home()
    26. matchMedia()
    27. minimize()
    28. moveBy()
    29. moveTo()
    30. open()
    31. This API has not been standardized. openDialog()
    32. postMessage()
    33. print()
    34. prompt()
    35. queueMicrotask()
    36. This API has not been standardized. releaseEvents()
    37. requestAnimationFrame()
    38. This API has not been standardized. This deprecated API should no longer be used, but will probably still work. requestFileSystem()
    39. requestIdleCallback()
    40. resizeBy()
    41. resizeTo()
    42. This is an obsolete API and is no longer guaranteed to work. routeEvent()
    43. scroll()
    44. scrollBy()
    45. This API has not been standardized. scrollByLines()
    46. This API has not been standardized. scrollByPages()
    47. scrollTo()
    48. This API has not been standardized. setCursor()
    49. This API has not been standardized. setImmediate()
    50. setInterval()
    51. setTimeout()
    52. showDirectoryPicker()
    53. This deprecated API should no longer be used, but will probably still work. showModalDialog()
    54. showOpenFilePicker()
    55. showSaveFilePicker()
    56. sizeToContent()
    57. stop()
    58. updateCommands()
  4. Events
    1. event
    2. afterprint
    3. animationcancel
    4. animationend
    5. animationiteration
    6. beforeprint
    7. beforeunload
    8. blur
    9. copy
    10. cut
    11. DOMContentLoaded
    12. error
    13. focus
    14. hashchange
    15. 这是一个实验性的 API,请尽量不要在生产环境中使用它。 languagechange
    16. load
    17. message
    18. messageerror
    19. offline
    20. online
    21. orientationchange
    22. pagehide
    23. pageshow
    24. paste
    25. popstate
    26. rejectionhandled
    27. storage
    28. transitioncancel
    29. unhandledrejection
    30. unload
    31. vrdisplayconnect
    32. vrdisplaydisconnect
    33. vrdisplaypresentchange
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies