"Application Cache manifest had an incorrect MIME type: text/plain."
Getting the same message again and again yet I get my content cached. Browsers on which I am facing this problem: IE9/10 and Safari. My Mozilla and chrome gives and output fine.
Code:
<script type="text/javascript">
function logEvent(event) {
alert(event.type);
}
window.applicationCache.addEventListener('checking',logEvent,false);
window.applicationCache.addEventListener('noupdate',logEvent,false);
window.applicationCache.addEventListener('downloading',logEvent,false);
window.applicationCache.addEventListener('cached',logEvent,false);
window.applicationCache.addEventListener('updateready',logEvent,false);
window.applicationCache.addEventListener('obsolete',logEvent,false);
window.applicationCache.addEventListener('error',logEvent,false);
</script>