Add appcache for offline mode