Home > other >  Part [address] Laravel first visit to slow
Part [address] Laravel first visit to slow

Time:03-29



Environment
Environment is tencent cloud under Windows 2008 iis + PHP 7.2.3
Opens the opcache and various cache optimization
Didn't get any safety dogs on the server 360 gadgets such as


Problems
(resolved) every other day visit to visit for the first time slowly to more than ten seconds
Every few minutes to visit visit for the first time from 400 to 700 milliseconds


I try to
Open the debug look anything abnormal in clockwork
Mysql DNS queries are closed


The last
Attempt to solve or no problem after you got any solution
I need to use what method to debug the problem what tool


End
The solution of the problem 1 resources:
https://docs.microsoft.com/zh-CN/iis/get-s... https://www.cnblogs.com/teamblog/p/6195078...
The method can be used in https://www.bbsmax.com/A/gVdnmxZ15W/(if 1 don't need to look at the)




Slow access
Laravel
For the first time,


CodePudding user response:


Are the issues that need to be apart to see the front or back end, under the browser F12 simple analysis first,

CodePudding user response:


Suspect that the local network DNS problem, and see if I can rule out

CodePudding user response:


Turn off the debug, cache a wave

CodePudding user response:


Guess your program is so slowly, and not open slowly for the first time, every day is the same as everyone is open to wait so long, look at the data request slow, estimate or network or slow query,

CodePudding user response:

A question from the external CSS, F12 can see into the phpstorm, global search 'googleapis' this stuff, and then all deleted, an external font laravel references
  • Related