demo cache web service with core data