Adds a simple local caching solution.