Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

oncached

Summary

The resources listed in the manifest have been downloaded, and the application is now cached.

Property of apis/appcache/ApplicationCacheapis/appcache/ApplicationCache

Syntax

var result = window.applicationCache.oncached;
window.applicationCache.oncached = value;

Return Value

Returns an object of type nullnull

Notes

If there is more than one event, the cached event will be the last one in the sequence. Alternatively, you could use an anonymous delegate function such as

object.oncached = function (e) { … }

where e is the cached event.

Related specifications

W3C ApplicationCache Specification
W3C Editor’s Draft

Attributions

  • Microsoft Developer Network: Article