MDLSITE-3080 cached  devs and max commit no to reduce querying db.