After going through GitHub, I found this issue https://github.com/matomo-org/matomo/issues/13241 and a few other like it related to the Marketplace. Sure enough, disabling the Marketplace plugin did improve speeds tremendously (if not completely).
What’s going on with the marketplace?
I’m going to do some testing to ensure that this is the issue. I am not sure why the marketplace plugin should affect every single page in the entire app - seems a little heavy handed. What would it add?
As a side note, the marketplace section never worked for me - so this make sense.
This is a great issue and a config setting that really addresses the issue:
The issue is that the marketplace (and some other features) has to connect to the internet to work. But it seems like your server doesn’t have a direct connection to the internet, but every connection Matomo tries to make hangs for a while until it times out.
So you can either get internet to work on your server (maybe you have to configure the proxy or disable all internet features completely with the new option.
Tracker code runs from 500ms to 1s,
Using the portal is painful. Look at some of these times on the portal. I’;m just not sure if it’s a proxy issue, code, server or mySQL.