modify some functions in cache and modify the structure of request_content