共用方式為


ihtmlapplicationcache interface

Members

The ihtmlapplicationcache interface inherits from the IUnknown interface. ihtmlapplicationcache also has these types of members:

  • Events
  • Methods
  • Properties

Events

The ihtmlapplicationcache interface has these events.

Event Description
oncached

Event handler provided to see if the resources have been loaded into the cache.

onchecking

Event handler provided to see if the browser is in the process of checking for an update, or is attempting to download the manifest for the first time.

ondownloading

Event handler provided to determine if the browser has found an update and is downloading it, or is downloading the resources for the first time.

onerror

Event handler provided if an error has taken place.

onnoupdate

Event handler provided to indicate that the manifest has not changed.

onobsolete

Event handler provided to indicate that the application cache cannot be found.

onprogress

Event handler provided to indicate that the resources for the cache are still being downloaded.

onupdateready

Event handler provided to indicate that previously cached resources have been updated.

 

Methods

The ihtmlapplicationcache interface has these methods.

Method Description
swapCache

Swaps an old cache for a newer one.

update

Triggers the update of the existing cache. If no updates are available, an update will not be forced.

 

Properties

The ihtmlapplicationcache interface has these properties.

Property Access type Description

status

Read-only

Indicates the current status of the cache.