add cache interface,fix cache