How can the php website built on Windows take a long time to load on its first visit after a long period of idle time? Is there a solution?

I installed XAMPP, and MediaWiki in Windows. It"s slow if you don"t have to visit some pages for a long time. Enabling OPcache and APCu is much faster, but the first visit after a long absence is still relatively slow. It"s not the first time to open a page that is not cached in the browser for the first time. English search, bing search, online methods do not seem to be as effective as OPcache and APCu. I just use it myself. I hope the loading speed is faster and there is no requirement for concurrency. I wonder if there is any way to improve loading speed at the expense of concurrency.

Apr.07,2021

write a script to run regularly? Or directly give a SiteMap to let Baidu and Google spiders come and have a look?

Menu