refactoring: remove the cache realm

* the cache realm enumeration ties different connectors together
* everything in the realm can also be stored at the connector instead