merged cache doc into cache api