How to bypass multi-page callback for certain links?

I’m using dcc.Location to make a multi-page dash app. This works fine, except that I have a link for which I want to bypass the callback on and have the browser go to a custom Flask route that I have defined on my server. With a html.A element, the browser passes it through /_dash-update-component instead of just going to the URL. Is there any way to force it?

I figured out on my own that setting refresh=True in dcc.Link will cause the browser to go to the link directly instead of trying to pass it through your callback. In the case of dbc.NavLink, external_link=True will do the same thing. The docs for dcc.Link could be a little clearer about what the refresh setting is used for.