rename function_cache to cache