added route regeneration to router cache-clear task