Caching support for backbone-db