共用方式為


applicationCache property

Returns an ApplicationCache object.

This property is read-only.

 

Syntax

HRESULT get_applicationCache(
  [out] ApplicationCache **ptr
);

Property values

Type: ApplicationCache

Object

Remarks

You can use

cache = window.applicationCache

to create a new cache object. After you have created the cache object, you can use the IHTMLApplicationCache::swapCache and IHTMLApplicationCache::update methods to swap and update the cache.

Also, you can use this object to check the IHTMLApplicationCache::status of the cache.