Long Loads & Erratic TTFB
|
07-23-2017, 11:14 PM
Post: #8
|
|||
|
|||
RE: Long Loads & Erratic TTFB
Number of resource to load effects total load time.
TTFB relates primarily to your hosting, so LAMP (Linux/Apache/MariaDB/PHP) tuning. You're running WordPress, so you can try this. 1) Install Query Monitor plugin 2) Set SAVEQUERIES to true in your wp-config.php Look for huge numbers of broken HTTP requests or database thrash. Recently I found an odd glitch between how WordPress calls it's own API on WP.org which related to DNS... where... some DNS lookups simply failed, after a 5 second timeout. After narrowing this down to DNS, I've changed all my LXD containers to... a) Remove the massively broken systemd-resolved nonsense. b) Change /etc/resolv.conf to "nameserver 127.0.0.1" c) Run - resolvconf --disable-updates - each time containers reboots, so /etc/resolv.conf never changes. d) Arrange for dnsmasq (blazing fast DNS resolution) to listen on 127.0.0.[1|53] to handle all DNS. This has resolved many complaints I was having from clients about slow sites, especially when logged into the admin dashboard. Query Monitor can surface many problem areas. Also make sure Opcache is enabled + tuned well. http://167.114.29.137/wptools/ocp.php shows what you're looking for. Lots of free memory slabs + keys. Also run mysqltuner on a regular basis + fix any emitted diagnostics. Few weeks ago, I went through a tuning cycle with latest mysqltuner + latest MariaDB on a high traffic site + got nearly 60% disk i/o reduction by fixing every single mysqltuner suggestion. Like help speeding up your site? Skype me @ ID davidfavor for a quote. Be sure to include your site name in your Skype Add Contact request. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Long Loads & Erratic TTFB - Islandspark - 07-18-2017, 06:30 AM
RE: Long Loads & Erratic TTFB - GreenGecko - 07-19-2017, 04:18 PM
RE: Long Loads & Erratic TTFB - dfavor - 07-20-2017, 10:08 PM
RE: Long Loads & Erratic TTFB - Islandspark - 07-21-2017, 12:13 AM
RE: Long Loads & Erratic TTFB - Islandspark - 07-21-2017, 08:44 AM
RE: Long Loads & Erratic TTFB - avalanch - 07-22-2017, 08:53 AM
RE: Long Loads & Erratic TTFB - datadiggers - 07-22-2017, 10:17 PM
RE: Long Loads & Erratic TTFB - dfavor - 07-23-2017 11:14 PM
RE: Long Loads & Erratic TTFB - GreenGecko - 07-26-2017, 08:09 AM
|
User(s) browsing this thread: 1 Guest(s)