cache model