added appcache content and some other fixes