Added a getCache method

I added a getCache global method that allows the user to explicitly fetch a raw cached item. In my case I needed it for easier testing.
This can also be used in #106