window.applicationCache is undefined in IE11

1.5k views Asked by At

I am working with Application Cache to save my page and so far everything works in Chrome and Firefox without a single error. In Internet Explorer however, I always get an error saying that window.applicationCache is undefined as soon as I try to use it. Entering console.log(window.applicationCache); in the console results in undefined too (just in case it was some problem with loading stuff). Can anyone help me with this?

1

There are 1 answers

0
LBBO On BEST ANSWER

I found the solution: Someone put a <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">-tag in the head of the index.html so the IE pretended not to know window.applicationCache as it was added in version 10.