Drupal 8 Performance Tuning

This week I started a mini project to optimize a slow Drupal 8 website.   

Drupal Performance Graph
Dev vs Prod (Baseline is Red)

The issue, various parts of the website are taking 10, 20 and even 30 seconds to load.  Wow, long time.

My first round of updates to the Drupal configuration and code took off 15 - 20 seconds of page load time.  Then after the second review of assets loading on the page, I was able to knock off about 3 MB of loaded resources.  Now the page load must faster and is much lighter.

Here is a before and after comparison of page size, request sand load time:

Drupal 8 Performance Optimization - Before and After Stats.
Before and After Page Stats

Next steps, to go back through the requests that are sent, and then to review the hosting configuration.


Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.