Check cache_response before using it