Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Introduction to Drupal 7 - Performance optimization

3,728 views

Published on

Lecture tutorial on performance optimization for Drupal 7.

Published in: Technology
  • Be the first to comment

Introduction to Drupal 7 - Performance optimization

  1. 1. Introduction to Drupal 7 Bonus session 9.1 PerformanceDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 1
  2. 2. Agenda• Drupal performance• Modules you can use to optimize your siteDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 2
  3. 3. Drupal performance• Drupal is a complex system, it requires attention when it comes to performance;• Caching is one of the most popular ways to improve your performance;• There are core modules to help you cache (optimize) your system performance;• It’s always good to have your caching on when you’re launching your website in productionDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 3
  4. 4. Drupal core caching• Administration > Configuration > Development > PerformanceDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 4
  5. 5. Bandwidth optimization• The aggregation is a process of gathering multiple/many files into one, so that there fewer requests• Old IE browsers have problems reading many stylesheets -> another reason to aggregate css filesDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 5
  6. 6. Cleaning cache• Extremely important to know: – From performance settings – From admin menu – From Drush (a bit advanced)Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 6
  7. 7. Recent log messages• Administration > Reports > Recent log messages• URL: admin/reports/dblog• Shows what is going on and if there are issuesDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 7
  8. 8. Performance logging and monitoring• Performance logging and monitoring module is the previously Devel module• Provides performance statistics logging for a site, such as page generation times, and memory usage, for each page load.Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 8
  9. 9. Views caching• Views is a very popular module which has its own caching mechanisms• To enable caching for a specific views view – Go to the corresponding views view – Go to the right Advances settings and find Caching – Set a PHP or time-based cachingDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 9
  10. 10. Performance optimization modules• Boost• Performance Logging and Monitoring• DB Maintenance• Memcache API and Integration• Authenticated User Page Caching (Authcache)Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 10
  11. 11. Time for questionsDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 11
  12. 12. ContactsKalin Chernev – E: kalata@shtrak.eu – T: twitter.com/kalinchernev – U: http://shtrak.eu/kalataDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 12

×