Preventng api/database?include=tables from being sent

We’ve noted in a number of situations (including being on the home page), there is an ajax request to api/database?include=tables that results in the browser hanging due to a large amount of data coming down, hanging the browser. As a work around, using an Ad Blocker to block that path doesn’t appear to break the dashboards but prevents hangs/delays.

Is there a reason this is being retrieved?
Is there a way to prevent?

Hi @sanctioneduser
Please post “Diagnostic Info” from Admin > Troubleshooting.

Yes, it’s used in the interface, so people can browse tables.
We have an issue open about optimizing the endpoint:
https://github.com/metabase/metabase/issues/11806 - upvote by clicking :+1: on the first post
https://github.com/metabase/metabase/issues/10163

You can block requests with a reverse-proxy - but of course not advisable, since Metabase depend on it’s endpoints.