add appcache for offline use