Implement LazyRouter and UrlGenerator cache