Fix a abnormal long cache case.