splitting cache rebuilding into groovy and hydro specific