You answered your own question:
> very slow after installing it on an internal network and not on the Internet
So look for the differences related to the network. Some ideas:
- the authentication
server is in the Internet
- site linked to other services like repositories outside the LAN
- embedded videos on the site home
- as already pointed out by Sergio services configured to resolve the IP addresses in some DNS which is outside the LAN
The browser developer tool Network might give some hints. Otherwise the deep dive would be record the network traffic, with tcpdump and the like.