This is not my website, but someone asked me to check out his WordPress blog. I have never touched WordPress in my life, but I consider myself relatively computer savvy, so I thought I'd try it.
He keeps talking to me about Caching and is trying to find a magic optimization plugin on WordPress that will save the day, but I really do not think that's the problem, considering the fact that he has already several plugins for optimization and caching. I think that continually launching plugins on the problem could possibly slow things down. For the moment, he's 23. It does not seem like an absurd figure, although I think it could easily reduce it.
The first thing I did was to see if the problem was his host; I do not think it is. I found diagnostic web sites that said the host was fine, and a ping request to the site at the command prompt indicated a fairly normal response time of about 75 ms.
Then I tried to use GTMetrix and Pingdom to try to diagnose problems. I did it several times and it seemed like the initial html index file accounted for 70% of the loading time. I looked at the suggestions but none seemed to want to do much: use a CDN (my computer is in the same state as the host server), add the expiration headers (it only specified 5 files and, despite everything, really explain 20s?)
Redo tests and here are some scenarios; The results of Pingdom are now different from those described above, so take what I said with a grain of salt. Plus, I'm not sure why, but GTMetrix still has pretty good run times of a few seconds (3.7 seconds in this series) while in this series, Pingdom took 32.23 seconds.
So I doubt that it has provided much insight to anyone, but maybe yes. I've noticed that there are huge jumps between the same random script js and this googletagmanager thing; maybe someone could explain that?
I kept doing tests and research on google and saw that it took a long time to load the first html index file, which was weird; finally, I used the Google Performance Measurement Tool available in the Inspect Page menu and he indicated that a process (this thing: http://gc.kis.v2.scr.kaspersky-labs.com/26E3A360-F680-EE42-8566-5C7C91C35D44/main.js) took 20 seconds before allowing anything else to start charging. I saw kaspersky and I thought about security, antivirus, and so on.
He had previously told me to put on its site antivirus and security plugins after many random connection attempts in order to be hacked. So I thought they could be the culprits. I tried to disable the 3 plugins related to security, but to no avail. I have not seen any improvement
I then went to see if there could be some plugin or if the number of plugins was the problem. Connected to his administrator account, I disabled all plugins and found a considerable improvement. After waiting 20 to 30 seconds for each load, seeing it load in about 4 seconds was like a flash. I've reloaded it several times to make sure it was not a coincidence before going through and disabling each plugin individually. I finally got to this plugin called "Tracking Code Manager" by IntellyWP. When it was activated, the loading time was unbearable: about 7 seconds without anything, followed by about 10 seconds of additional blank screen. When the plugin was deactivated, it took about 4 seconds to load the page. I've looked at the reviews of plugins and I have found no major complaints aside from the non-applicable compatibility issues. Nothing to do with slow times.
So, I went back to the guy who asked me to help him, sat in front of his computer and it was terribly slow, as before. I brought it back to my computer and it was fast enough, as I described above: ~ 4 seconds. I quickly realized that I only saw such fast times when I logged in to his administrator account. When that was not the case, it was the return to the good old days. I do not know why.
I wanted to see if it was his security plugins that were slowing down or slowing requests for unconnected sessions or something (idfk, I did not know what to do) and trying to open the site on my phone. He charged quickly, ~ 4s. I've thought, maybe it's just this IP address (we are all in the same building on the same network). I installed tunnelbear and connected from a random IP address in the US where we are, and that did not help.
I really do not know what to do. It makes no sense for me to understand why, once logged in to the admin account, it's fine, but otherwise it's unbearable to load. Now he is back to send me links on "WordPress Performance" and talk about caching plugins and optimization! As I said, he already has several, so I really do not think this is the problem, and no matter, he does not have a lot of resources on his site. This should not be the cause of loading time of 20-30 seconds.
Yes no matter who has had similar problems or has ideas, ideas or solutions, help me please. Sorry to spit information from a car manual, but if you're reading this, thanks!
Help look into a guy wordpress site, taking 20-30s to load. I do not think that caching or optimizing plugins is the question, as this would not explain 20s of downtime. I've removed each of its plugins until I find one called "Tracking Code Manager" which, when removed, speeds up the load times immensely, but only when you're logged in to the admin account. Otherwise, it made no difference. I do not know why. There is a lot more information that could give insight. Please help me, thank you!