Dump UrlMatcher routes to cache, remove ending slash