• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Tuning a Wordpress site

balanga

Daemon

Thanks: 62
Messages: 1,995

#1
Does anyone know of any good references for tuning a Wordpress site?

I assume that Wordpress on FreeBSD works more or less identically to one on Linux...
 

French Fries

Member

Thanks: 13
Messages: 53

#2
Run on real hardware, no VM. Log all SQL queries and make sure they are less than 20 ms. Remove cache. Log everything and look for the culprit.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,996
Best answers: 10
Messages: 26,762

#3
Probably not a lot can be "tuned" on the Wordpress side of things. However, you can tune the database behind it. If the database is slow the whole site will appear to be slow. So tuning MySQL is probably the first step.

Don't just blindly use an "optimized" my.cnf you found on the internet for MySQL. What is optimal for my sites and database usage may be completely unworkable for your situation. Let the database run for a couple of days then run databases/mysqltuner to see what could be optimized. Setting various caches correctly for example can really improve the site's responsiveness.
 
Top