set cache policy