Cache something like a database in memory.