modifying for appcache