Caching like a bank