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.
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Turbo charge your Drupal site performance
1. Building Bridges, Connecting Communities
JAMES BROBERG (METACDN)
TRACK: IMPROVING DRUPAL PERFORMANCE AND THE TEAMS
THAT BUILD DRUPAL SITES
TURBO CHARGE YOUR
DRUPAL WEBSITE
2.
3. It’s a problem because
Abandon rate 40%
Sales 75%
Advertising response Conversions
Search ranking Negative signal
Brand Loyalty
After 3 seconds ...
4. 1. Get your house in order
2. Prepare for stormy weather
3. Expand your empire
5. 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!)
6. 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)
7. 1. Get your house in order
2. Prepare for stormy weather
3. Expand your empire
8. 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
9. 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
10. 1. Get your house in order
2. Prepare for stormy weather
3. Expand your empire
11. “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
12. 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