An enhanced emulation for html5 application cache.