How to Optimize First Access Grafana Load Slow

Hello, How to Optimize First Access Grafana Load Slow,
The first loading time is about 20 seconds.
What are the mature and optimized solutions for the community?

The first loading time is about 20 seconds.

If I do a full page reload of a Grafana installation on a local LAN it’s 1.3 seconds. After that it’s about 1second.

For doing a full page reload on a server on the other side of the globe (https://play.grafana.org) takes about 2 seconds.

So your 20 seconds must be to due very slow internet connection or do you have a custom build of Grafana that is not optimized? All the default release packages are optimized but you have a custom build you need to run yarn run build to create an optimized frontend build.

gzip

Enable ini option enable_gzip