Before we can do any caching, we need something to cache. Here's a simple DataProvider class that has a couple of expensive operations in its interface: /** * @author adrian at aspectprogrammer.org * ...
Caching is a quick and easy way to save roundtrips between your application and where you store your data. However, it’s not as easy as just snapping a map into your application – to really leverage a ...