Cache profit edges up in Q2