Added support for appcache