HTML5 Application Cache isn't supported by IE8 and IE9.
What would happened with website which uses HTML5 Application Cache when opened in IE8 for example? Will it be loaded as usual or throw an error?
Application Cache works by adding manifest
attribute to the <html>
element. Browsers simply ignore attributes which they don't understand, so IE 8 or 9 would behave as if this attribute wasn't there.
However, if you try to access Application Cache through JavaScript by using the applicaitonCache
property of window
, your code may throw an error. For example this code:
window.applicationCache.addEventListener('updateready', onUpdateReady);
would throw error, something like:
TypeError: Cannot read property 'addEventListener' of undefined
Note that Application Cache is now deprecated and you should use Service Workers instead.