made interface get_cache()