A simple, powerful pattern for caching data