Clean route.cache. Closes #1249, Closes #1248