Current time: 12-11-2018, 05:35 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Improve load time/ first time to byte of slow website
10-21-2017, 11:29 PM
Post: #4
RE: Improve load time/ first time to byte of slow website
Since your running custom code (no CMS like WordPress), a good starting point will be.

I'm guessing your running MySQL...

1) Switch to MariaDB

2) Alter/Update MyISAM tables to InnoDB.

3) Enable slow query logging + no index logging + fix all reported problems.

4) If binlog processing is enabled, disable it, unless you're actually running replication.

5) Move /tmp off disk into a tmpfs (memory) based file system.

6) Run mysqltuner + fix any emitted diagnostics.

7) If your site makes many internal DNS calls, as in site reference URLs which contain a protocol + domain in links + systemd-resolved is running, strip it out + replace it with dnsmasq, as systemd-resolved is badly broken + will slow your site to a crawl, if Asset #1 requires any DNS lookups... even if you think those lookups should be cached, likely they aren't, if systemd-resolved is running.

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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Improve load time/ first time to byte of slow website - dfavor - 10-21-2017 11:29 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)