you need to keep the ``getCache`` method (marking it as deprecated), to preserve BC