added appcache to support offline support