cache api detailed