Cache judgment