add appcache for offline use and speed