Improve outbound url processing
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3539742. -->
Reported by: [alexpott](https://www.drupal.org/user/157725)
Related to !12
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Outbound URL processing generates a URL from a path to find out if it is routed. This is unnecessary and we can improve things further by relying on the improvement that will be delivered by <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-3"><a href="https://www.drupal.org/project/drupal/issues/3539739" title="Status: Closed (duplicate)">#3539739: Add route name to outbound path processing</a></span></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Do less routing.,</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>None</p>
<h3 id="summary-api-changes">API changes</h3>
<p>Change BaseUrlProvider::getConsumerRoutes() from protected to public</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>None</p>
> Related issue: [Issue #3539739](https://www.drupal.org/node/3539739)
issue