sometimes it comes out in 0.1s, and the local problem you mentioned can basically eliminate the slow running of the project.
if the fast running of the project means that the server is OK, then the main problem is the network:
there are several problems to troubleshoot:
- DNS query speed
- you can use network problems (you can switch to 4G networks, ask friends to test, or check with some online tools)
- whether the execution of the project is blocked (such as slow connection to the database)
see if the slow-loading page introduces too many static resources
is connecting, and the title is not coming out, is it? Dns parsing problem.
chrome debugging panel to see which network, request is specific
local and online environment
should be a Ssl problem. You can first turn off Ssl and use Http to access
and then encounter occasional long connections after using Ssl, indicating that the connection has been reset (I don't know why)
but it's fine after a period of time.
Open the console to see which part of the request is slow
I guess the php-fpm you installed does not change the default setting ~ the default is the development configuration, and the number of supported requests is very small.