Simple static caching library.