I have the following:
var webappCache = window.applicationCache;
switch (webappCache.status) {
case 0:
console.log("Cache status: Uncached");
break;
case 1:
console.log("Cache status: Idle");
break;
case 2:
console.log("Cache status: Checking");
break;
case 3:
console.log("Cache status: Downloading");
break;
case 4:
console.log("Cache status: Updateready");
break;
case 5:
console.log("Cache status: Obsolete");
break;
default:
console.log("Cache status: unknown");
}
In IE 9, it can't understand what webappCache.status is. I also read that IE 9 does not support applicationcache. Is this true?
Yes, it is only supported in IE10 +