add appcache to the app.