我有以下内容:
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");
}
在IE 9中,它无法理解webappCache.status是什么。我还读到IE 9不支持applicationcache。这是真的?