turbo charge your drupal site performance

14
Building Bridges, Connecting Communities JAMES BROBERG (METACDN) TRACK: IMPROVING DRUPAL PERFORMANCE AND THE TEAMS THAT BUILD DRUPAL SITES TURBO CHARGE YOUR DRUPAL WEBSITE

Upload: james-broberg

Post on 10-Jun-2015

8.705 views

Category:

Technology


1 download

DESCRIPTION

Dr James Broberg, founder of innovative content delivery network MetaCDN and respected author on Cloud Computing, will demystify the world of website performance to help you turbo charge your Drupal websites. Find out what's slowing your site down, what you can do about it and what tools & techniques can you start using with Drupal today.

TRANSCRIPT

Page 1: Turbo charge your Drupal site performance

Building Bridges, Connecting Communities

JAMES BROBERG (METACDN)TRACK: IMPROVING DRUPAL PERFORMANCE AND THE TEAMS

THAT BUILD DRUPAL SITES

TURBO CHARGE YOUR DRUPAL WEBSITE

Page 2: Turbo charge your Drupal site performance
Page 3: Turbo charge your Drupal site performance

It’s a problem because

Abandon rate 40%

Sales 75%

Advertising response Conversions

Search ranking Negative signal

Brand Loyalty

After 3 seconds ...

Page 4: Turbo charge your Drupal site performance

1. Get your house in order2. Prepare for stormy weather3. Expand your empire

Page 5: Turbo charge your Drupal site performance

Sanity check your pre-reqs

• Increase PHP memory to sane value

• Install a PHP cache (e.g. APC)

• Stores compiled PHP in-memory

• Turn on MySQL Query Cache

• Make repetition work for you

• Make repetition work for you (HIT!)

Page 6: Turbo charge your Drupal site performance

Optimise your code

• Be aware of best practice optimizations

• Run your site though Google Page Speed or YSlow to get recommendations

• Some basic hooks in Drupal Core 6/7

• CSS is aggregated + compressed

• JS is aggregated (not compressed)

Page 7: Turbo charge your Drupal site performance

1. Get your house in order2. Prepare for stormy weather3. Expand your empire

Page 8: Turbo charge your Drupal site performance

Cache dynamic pages

• Basic Drupal page cache in D7 core

• Boost static page caching in D6/7

• Need Clean URLs enabled first

• Human, cache and SEO friendly!

• Delivers big performance gains for anonymous (not logged in) traffic

Page 9: Turbo charge your Drupal site performance

Serve static content faster

• Varnish or Nginx reverse proxy can be faster again

• Static files served by reverse proxy

• Dynamic (PHP) served by Apache

• “Snapshots” of dynamic pages can even be cached/served via proxy

Page 10: Turbo charge your Drupal site performance

1. Get your house in order2. Prepare for stormy weather3. Expand your empire

Page 11: Turbo charge your Drupal site performance

“Operator, Can you connect me to drupal.org?”

• Most “free” DNS servers from your web host are not very good

• Global “anycast” DNS servers are faster and more reliable

• Affordable offerings from Rackspace and Amazon (no excuses)

• Enterprise offerings from Dyn, UltraDNS

Page 12: Turbo charge your Drupal site performance

Go global with a CDN

• Site optimizations do not bring your users any closer to your site.

• CDN caches your site pages & content at the edge, closer to customers

• Bulk of content served from CDN

• Drupal CDN module makes integration painless

Page 13: Turbo charge your Drupal site performance

Booth # 334

Page 14: Turbo charge your Drupal site performance

Building Bridges, Connecting Communities

Evaluate this session at: portland2013.drupal.org/schedule.

Thank you!

What did you think?