Coded cachematrix