added offline appcache possibility