Setting up cache policy