added cache in demo.appcache