/Web APIs


Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The msCaching read/write property specifies whether stream data downloaded using XMLHttpRequestis cached to disk or not.

This proprietary method is specific to Internet Explorer and Microsoft Edge.


 cacheState = object.msCaching


Type: DOMString

Property value Description
auto Disables caching for stream or ms-stream data.
enabled Enables caching for stream or ms-stream data.
disabled Disables caching for any data.

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.