Fleshed out working POC for caching mechanism