I installed Virtualmin on a test system and ran into a painfully slow-loading dashboard in both Webmin and Virtualmin views.
After messing about with the settings, I switched the HTTP protocol from HTTP/1.1 to HTTP/2 (un)encrypted for both the default and test server (under Webmin > Servers > Apache Webserver). Sure enough, the dashboards loaded at normal speed, and the slowdown with *min disappeared.
I also cleared the Authentic Theme’s cache.
I managed to reproduce the slow dashboard by switching the protocol back to HTTP/1.1.
Funnily enough, I’ve never had this issue on my production server – I reckon it’s because I enabled HTTP/2 from the start.
Not sure if this is directly related, but I thought I’d share in case it helps spot a bug:
So…um…Webmin does not run under Apache. Nothing in Webmin can ever be effected by anything in Apache, unless you have configured Apache to proxy for Webmin. But, in that case, since Webmin’s web server does not support HTTP/2, enabling HTTP/2 in Apache still can’t make any difference in the behavior of Webmin.
I don’t know what changed or why it was slow before, but it certainly had nothing to do with Apache configuration.