Traffic spikes tend to hit one or two pages on your site, so to profit from traffic spikes you need to ensure everything is cachable and that everything is actually cached. Pages are only cachable if they do not have unique content per user. Unique content per user includes things like: Wishlist widget – if […]
Find below all of our performance analysis articles, or check out our paid performance analysis and optimisation service.
We also have a quick start guide to performance analysis.
In the video below, I show an example of performance analysis of a WordPress plugin. Performance optimisation is firstly performance analysis – you need to find out where your performance bottlenecks are. Performance bottlenecks in WordPress are most commonly found in the database, so a plugin tool like Query Monitor can help a great deal. If […]
There are a multitude of profilers available for WordPress but they all fail in some way to provide the real results you need. Query Monitor, for example, is fantastic for profiling database queries, which is normally where performance problems come from, but it lets you down a little when it comes to finding out which […]
Edit your /etc/mysql/my.cnf file – the default file comes with a bug for setting up this slow query log, but find the line which starts log_slow_queries (it’ll be commented out probably). Don’t uncomment it, instead use something like these values: slow-query-log = 1slow-query-log-file = /var/log/mysql/slow.loglong_query_time = 1log-queries-not-using-indexes long_query_time can be a decimal if you wish – […]