added appcache checks