Cache BatchContext read from database