Returns the current status of the application cache, as given by the constants defined below.
Property of apis/appcache/ApplicationCacheapis/appcache/ApplicationCache
SyntaxNote: This property is read-only.
var result = ApplicationCache.status;
Return Value
Returns an object of type unsigned shortunsigned short
var appCache = window.applicationCache;
switch (appCache.status) {
case appCache.UNCACHED:
return 'UNCACHED';
break;
case appCache.IDLE:
return 'IDLE';
break;
case appCache.CHECKING:
return 'CHECKING';
break;
case appCache.DOWNLOADING:
return 'DOWNLOADING';
break;
case appCache.UPDATEREADY:
return 'UPDATEREADY';
break;
case appCache.OBSOLETE:
return 'OBSOLETE';
break;
default:
return 'UKNOWN CACHE STATUS';
break;
};
Related specifications
status
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4