3 ms·
There's no reason a PHP based site should take that long to load. It would seem that you are missing some caching settings, regenerating something every page l
by RobGR 9y ago
There's no reason a PHP based site should take that long to load. It would seem that you are missing some caching settings, regenerating something every page load, or have something wrong with your server setup.
Make sure you are using a recent version of PHP and appropriate WP caching plugins.
Also check to see if your DB is hanging when a connection is made to it, perhaps due to trying to reverse lookup the IP for logging purposes and waiting for that to time out, or something else simple like that.
- com2kid 9y ago> There's no reason a PHP based site should take that long to load. It would seem that you are missing some caching settings, regenerating something every page load, or have something wrong with your server setup. Out of the box settings, ugh. Full second to parse jquery, 1/2 for jquery, 1/2 for jquery migrate. Something called wp-emoji-release.min.js is taking another 396 ms. And this is after repeatedly visiting the page in my browser. I thought the browser was supposed to cache stuff? Heh. Then again, according to Chrome, the page only took 1.4 seconds in total. I'm wondering where the remaining 4 seconds of me staring at an empty browser tab is coming from. :/ Then again, switching pages on my WordPress admin page takes ~6 seconds, so I think there is just a significant probability than my VPS has miserable performance. Edit: Installing a caching plugin makes the page load not as horribly slow. It is at 3 seconds now, which is still 2 more than I'd like, but at least acceptable.
- RobGR 9y agoLook at the Cache-Control header and see if the site is telling the browser not to cache the JS. Also, look at the time-to-first-byte . . . if that is high, maybe further tweaks to the cache plugin settings may help you. If you are not using at least PHP version 7.0 you will get a noticable improvement by getting to that as well.