Making router cache work