support for multiple records being added to the cache at once