Performance Insights (Beta)

We have done a lot of work to understand what is really important when it comes to the performance of your website. We’ve identified metrics that we think are vital to performance and we’ll go over why we think each is important and steps you can take to improve each metric.

Research tells us that customers are more loyal to trustworthy, easy-to-use sites. This perception is heavily influenced by the speed of your site. Based on Google’s experimental results, we know that sites that can deliver content in 800ms are perceptibly faster than those that take 1500ms. While each customer is different, many don’t trust sites that consistently take over four seconds to load.

Note

The new performance insights page is currently in a limited beta release.
Request access to the limited beta release here.

WP Engine Site Performance Score

Our site performance score is a metric that assigns an overall health score to your website’s performance based on metrics that we think are key in delivering a great experience to your visitors.


Screenshot of the WP Engine Site Performance Score on an environments Performance page in the WP Engine User Portal

Why the WP Engine Site Performance Score is Important

WP Engine’s site performance score evaluates whether a site’s typical performance meets customer expectations, and whether the site is well suited to handle unexpected bursts of traffic. We benchmark site speed against Google’s Page Rank recommendations, and compare site scalability to various other WordPress sites to compute the site score.

If your site sees typical web traffic, the site score is an indication of how well your visitors are served and consequently, how long they are likely to stay on your site and how likely they are to return. While a high score alone will not guarantee high page ranking, a low score will likely hurt your page ranking.

For certain types of sites the site score may be less relevant. This is especially true in instances where all site users require a log in, for sites that never experience viral traffic, or sites that do not prioritize high page ranking in search results. If your site falls into one of these more niche categories, you may choose not to rely on the site score as an overall indicator and instead focus on the individual metrics that are most relevant for you.

How the WP Engine Site Performance Score is Calculated

The site score combines your WordPress latency and your site cacheability. 

Note

The latency is measured from our servers and not from CDN servers.

In order to determine your WP Engine site performance score we generate an underlying latency score and cache score over a 7-day look back period, and combine those metrics into a single value.

The latency score is determined by a curve based on Google’s page scoring practices and further informed by our knowledge of unique WordPress performance characteristics. The score thresholds are based on Google’s thresholds for latency. The scores are designed using Google’s scoring practices.

The cacheability score is based on the percentage of page views that are served from (Varnish) page caches. This is a simple ranking from 0 to 100.

The below table reflects how these two factors, latency and cacheability, are combined to derive an overall score. Please note that this distribution may change as we continue to evolve the score to better reflect the most relevant evaluation of site performance.

A table showing different WP Engine Performance Scores based cache ratios and average latency times.

Steps to Improve the WP Engine Site Performance Score

For some sites, a fair site score might suffice. But if reduced latency, improved ability to handle traffic spikes, and higher page rankings are important for a given site, then improving the site score is a good proxy to improving those aspects of your site performance.

Review the steps below for improving Average Latency and Cache Hit Ratio.

Page Views during Busiest Hour

Page views during busiest hour reflects the maximum number of page views that your site received in the busiest hour of the last evaluated day. Higher concurrent page views may require more site optimization or resources to serve traffic effectively.

Screenshot of the metrics for Traffic During Busiest Hour on an environments Performance page in the WP Engine User Portal

Why Page Views during Busiest Hour is Important

Assessing page views received during the busiest hour on your site is important to understand how to best scale your site, and to use as a potential indicator of unwanted bot traffic.

Scaling the site:
If a majority of your traffic is arriving over a few hours, then the hourly traffic will be a large percentage of the daily traffic. Sites that have a busy time of day need to be scaled to meet peak demand (much like designing roads to accommodate rush hour traffic).

Indicator of unwanted bot traffic:
Many websites receive the majority of their traffic from a limited number of timezones, so their traffic is naturally higher during certain times of the day and lower at others. It’s very rare for a website to have equal human traffic across all 24 hours of the day. If a site’s peak traffic hour gets close to 1/24 of daily traffic, it might be a sign that the traffic isn’t from real people. This would be a good time to check your access logs for unwanted bot traffic hitting your site.

How Page Views during Busiest Hour is Calculated

We measure hourly page views. For each 24-hour period, we take the highest hourly page views number.

Note

Page views are different from billable visits. Read more about billable visits here.

Steps to Improve Maximum Concurrent Page Views

If your site is receiving a large number of requests during peak, it is important to make your site as efficient as possible. During high traffic, your caches should expire less often. If your cache hit ratio is low, find out why. For pages that are not served from cache, improve the page latency.

If your site’s peak traffic percentage is low, or starts to drop, look for additional signs that your site is receiving traffic that doesn’t convert to business. Are your Google Analytics not increasing with total traffic? Is your conversion rate dropping? Are you seeing a sudden increase in spam through contact forms? You may find the access logs provided in the WP Engine Portal helpful in identifying unusual traffic patterns.

Average Latency

Average latency measures the average amount of time that it takes to serve a page on your site to a visitor. This is measured every 24 hours across all the pages receiving visits on your site.

Screenshot of the Average Latency metrics on an environments Performance page in the WP Engine User Portal

Note

The latency is measured from our servers and not from CDN servers.

Why Average Latency is Important

Page latency is one of the primary determinants of visitor experience. Google considers this for their page ranking. This number is the most significant driver of the WP Engine site performance score.

How Average Latency is Calculated

Our system measures the time between the moment our servers receive a page view request to when the last byte for the page has been sent out of our servers. Pages served from our caches see < 100ms latencies. We calculate this number daily, over a 24 hour increment for each site by averaging the latencies of all page views. This approach naturally allows popular pages to influence the average more than rarely visited ones.

Steps to Improve Average Latency

  • Improve plugin and theme performance
    • Remove unnecessary plugins
    • Adjust settings for plugins and themes that might increase page load times
  • Improve the performance of custom PHP code
    • Have a developer review any custom code that has been added for plugins or the website’s theme, to look for opportunities to remove un-needed code or to optimize code
  • Improve database performance
  • Improve database cache hit rate
    • Enable object caching which caches up to 1 MB of values for recent database queries
    • Reduce the size of your database by removing un-needed content so that more of your database can be stored in memory. Core and Enterprise plans with dedicated servers can also be upgraded to a higher plan with additional memory
  • Reduce queuing time by increasing PHP workers or reducing un-cached requests
    • Increase cache hit ratio to reduce the number of requests that need to be processed with PHP
    • Core and Enterprise plans with dedicated servers can be upgraded to increase the number of PHP workers and can handle more concurrent uncached requests

Cache Hit Ratio

Cache hit ratio measures the proportion of visitor requests that are served from cache. Serving cached html for a page subtracts the time that it would take for the html to be re-rendered with PHP. This includes the time it takes for PHP functions to run, which also includes the time it takes to retrieve data from the database.

This metric is measured every 24 hours across all page views across all pages on your site. This metric is specific to content served from Varnish page caches, which refers to the cache on the WP Engine server and not Cloudflare CDN cache.

Screenshot of the Cache Hit Ratio metrics on an environments Performance page in the WP Engine User Portal

Why Cache Hit Ratio is Important

Caching is a critical component of improving visitor experience on a site. A higher cache hit ratio can help reduce the load on PHP resources, enabling your site to serve content to more concurrent visitors quicker. Quicker response and load times correlate to decreased bounce rates, increased time on page and site, higher conversion rates and ultimately better SEO ranking.

Some sites will naturally have a low cache hit ratio. If your site falls into one of the following categories, a lower cache hit ratio is expected:

  • Sites requiring logged in access for all pages
  • Sites with Edge Full Page Caching enabled – cacheable requests are handled by Cloudflare’s CDN and don’t count towards this cache hit metric
  • Sites functioning as the CMS backend for a headless site – headless sites only serve data from a WordPress database and don’t use WordPress’ PHP rendering for generating html

How Cache Hit Ratio is Calculated

This is the percentage of page views served using our origin server’s cache. This refers to the caching on your WP Engine server. It is not looking at CDN cache used by our Advanced Network, GES or your own third-party CDN.

In other words, while hosting with WP Engine provides a variety of additional caching options that optimize visitor experience on your site, the cache hit ratio metric reflects what portion of page requests coming to the backend are served quickly and efficiently using caches.

Steps to Improve Cache Hit Ratio

If yours is not one of the sites outlined above that would naturally have a low cache hit ratio but has a lot of static content and you are still seeing poor cache hit ratios, you may be able to improve its performance and scalability by:

  • Go to the Cache menu for an environment and validate that all cache exclusion rules are necessary
    • Check whether any cache exclusion rules introduced while developing or debugging are no longer needed.
    • Check whether cache exclusions are being triggered based on a cookie or query parameter that is not used for personalization.
      • If the cookie/query parameter is not used for personalization, you may be able to remove the rule.
      • If a personalization parameter is being attacked by a bot that is sending invalid values, you can add an Access Rule to try to block the unwanted bot traffic. You can add rules to reject traffic from a region, a User-Agent, or an IP address.
  • Go to the Web Rules page and validate that all cache exclusion Header Rules are necessary
    • These would include Header Rules with a name of Cache-Control
  • Enable Edge Full Page Cache
    • This will not necessarily improve our cache hit ratio score since we do not measure it from edge CDN servers, but it is an additional option for speeding up the time it takes to deliver page content to your visitors
  • Increase the cache length times for post types in the WP Engine caching menu of the WordPress dashboard.
    • The path for the caching menu in the WordPress dashboard is /wp-admin/admin.php?page=wpengine-common&tab=caching

Error Rate

The error rate measures the proportion of visitors to your site that receive an error on the page they are visiting. This reflects instances where visitors were unable to access what they were looking for on your site. This metric is measured every 24 hours across all pages on your site.  This excludes: intentionally blocked traffic, cron and bot traffic, admin and rejections due to security reasons.

Screenshot of the Error Rate metrics on an environments Performance page in the WP Engine User Portal

Why Error Rate is Important

If a page on your website is receiving errors, it could be causing an increase in page load times or it could be breaking functionality on the page that is not apparent simply by looking at the page. Either of these can degrade performance for a web page and reduce trust by visitors.

How Error Rate is Calculated

We look at all the response codes to page requests. We don’t count requests for static assets (e.g. image links). We only look at requests for site content; we ignore wp-cron and wp-admin traffic. Certain errors while serving those pages are included in the error count, and we report the error count as a percentage of page view requests.

The errors we include are:

  • 404 – “Not Found” – Your site, or an external site, linked to a non-existent page
  • 410 – “Gone” – The page requested no longer exists
  • 429 – “Too Many Requests” – Your site is overloaded with requests leading to a visitor being served an error
  • 500 – “Internal Server Error” – Your site’s backend failed. Usually a plugin’s code or custom PHP generated an error, which our servers translated to these.
  • 502 – “Bad Gateway” – Usually reported by our WP Engine’s own server technology when the underlying plugins or code is running too long. Learn more about 502 errors on WP Engine.
  • 504 – “Gateway Timeout” – usually reported by WP Engine’s own server technology when there are too many other pending requests for this request to be served before timeout. Learn more about 504 errors on WP Engine.

Steps to Improve Error Rate

The specific steps to resolve errors occurring on your site will depend on the errors you are experiencing. You can use the error logs provided by WP Engine to identify the most frequent errors on your site to begin targeting them.

When viewing the error logs you can use the Filter button pictured below to select the Needs Attention filter. This should show only errors and filter out notices which are just warnings and not errors.

Screenshot of filters for the error logs of an environment in the WP Engine User Portal

Consider if errors have increased disproportionately with traffic, as this may indicate that your site is being targeted by bots and may benefit from additional rules to filter unwanted traffic. You can leverage the Access Rules tab of Web Rules page to block unwanted visitors. Additionally, if your site is currently on our Legacy network for DNS, consider updating to the Advanced Network to take advantage of enhanced security.

You can also have error logs uploaded to your own Amazon S3 bucket each night if you want to retain the logs for your dev team to review. Read more about offloading logs.

Metric Comparison

This graph lets you select 2 metrics to compare for a selected time range. This is a great place to begin analyzing how the above metrics relate to each other in order to hone in on the root cause of any performance issues on your site.

Screenshot of the Metric Comparison graph of an environments Performance page in the WP Engine User Portal

Slow Pages

These are the pages with the highest latency among those receiving page views on your site. Use this list to identify the pages to optimize for the biggest impact.

Up to 20 slow pages will be displayed for any given time period. You can choose to view the list of slow pages for a given day or over a period of up to 7 days to identify if the slowest pages receiving traffic on your site change over time. For the greatest impact to your performance score, begin by investigating pages with a combination of high average load times and high page view counts.

Note

This table will show the slowest pages recently viewed for your website even if all of your pages are fast, like the example below where the average load time is 0.87 seconds (877ms).


A view of the slow pages table for a website in the WP Engine User Portal.

Still need help? Contact support.

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to your account to get expert one-on-one help.

The best hosting for WordPress

See why more customers prefer WP Engine over the competition.