SlideShare une entreprise Scribd logo
1  sur  14
Drupal Core Performance Tutorial Presented by Trevor James Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA http://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Author Trevor James  |  Drupal Developer & Webmaster |  http://variantcube.com/ Trevor has been designing Web sites for over 13 years, specializing in HTML, CSS,  ColdFusion, and has worked with Drupal intensively for over 2 years. Trevor is interested in all aspects of Drupal including best methods of developing Drupal themes, Drupal site performance, and using CCK, Views and Panels to develop Frontend interfaces to support data intensive Web sites. Trevor is currently working on a number of Drupal related projects for non-profit,  Education-based and small business organizations. Trevor created an 11.5 hour video tutorial series comprising 114 lessons titled Introduction to Drupal 6 for VTC (Virtual Training Company) in 2009.  The videos are Available here:
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Configuring Drupal core performance ,[object Object],[object Object],[object Object]
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Page caching ,[object Object],[object Object],[object Object]
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Page caching contd. 4. If you select Aggressive caching bear in mind that some contributed  modules may not function correctly.  If this is the case usually the contributed  module will show a “flag” here to warn you of any possible side effects. 5. Choose a Minimum cache lifetime for your cache mode.  This is the  minimum time that will pass before the performance cache on your site is  emptied.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Minimum cache lifetime A note here on setting your minimum cache lifetime.  There’s always a tradeoff with  this configuration.  If you set the cache lifetime high such as 1 day, you’ll get better performance overall on your site since the site will cache pages for 24 hours at a time.  However setting the configuration to 1 day will also prevent your anonymous users from seeing new content on your site’s pages especially if they frequent your site on a more regular basis such as hourly. It’s better to start with a shorter cache lifetime (such as 1-3 hours) and see if that” helps to speed up your site’s performance while still offering your site visitors new content as it’s posted (or as closest to post time as possible).
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Page compression You can set Drupal to compress pages by enabling the Page compression setting. Page compression if enabled will help save bandwidth and improve download times on your site.  Just be careful if you are also compressing pages via your Web server.  If this is the case the 2 configurations may conflict.  If you are using Page compression already on your Web server you do not need to set Drupal to compress pages here.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Block caching Your Drupal core performance configuration also allows you to either enable or disable Block caching. If you do enable block caching, the performance increases here will mostly Benefit all of your site’s users including both anonymous and authenticated users.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Optimize your CSS files If you have created a custom theme for your Drupal site you may be using a bunch of CSS files to control your theme styling.  For example you might have a main “style.css” file as well as specific stylesheets for your Views and blocks; print style sheets for your printer friendly content; and browser specific stylesheets for IE, Firefox and/or Safari. At load time your site’s theme can use valuable resources having to load each of these stylesheets and all of their code.  Drupal provides a method of optimizing the CSS load time by compressing all of the CSS into one stylesheet that gets loaded and cached in the site visitor’s browser session.  The CSS files are aggregated and compressed into a single file if you select to enable CSS files optimization here on your main Drupal performance page.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Optimize your Javascript files Like enabling your CSS optimization, you can also select to optimize your Javascript files.  Again this will come down to how many Javascript files you are running on your site.  If you are loading many JS files then you will most likely want to enable this optimization.  If you only have a couple JS files in your site then you can safely ignore this setting. Like all Drupal core performance settings try each configuration out on your site and see if it makes a large difference in site performance.  You can enable these core performance settings and then use a module such as Development (discussed in detail in Drupal 6 Performance Tips) to monitor page load times and queries.  You can then compare the load times when you have the settings enabled and when you have them disabled.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Clear your performance cache Finally on the Drupal core performance configuration page you’ll notice that there is a button at the bottom of the page that allows you to clear cached data. This is an additional option to allow you to manually clear your Drupal cache before your minimum cache lifetime cycle runs.  You have full control over your  core cache with this button – you can clear it at any time as long as you are  logged in as your super user #1 admin account.
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Sample Chapter and Articles Visit the Packt Publishing Web site for a sample chapter from the book and Articles excerpted from the book – both chapter and articles are available as PDF downloads: Sample Chapter 5:  Using DB Maintenance and Boost:   http://www.packtpub.com/files/5845_Drupal%206%20Performance%20Tips_%20SampleChapter.pdf Articles: Drupal 6 Performance Optimization Using Throttle and Devel Module Drupal 6 Performance Optimization Using Views and Panels Caching
Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA What you will learn from the book ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Buy the book now at  Packtpub.com The title is also available via Amazon.com ; and via links on my Web site,  variantcube.com Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA http://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/

Contenu connexe

Dernier

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Dernier (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

En vedette

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

En vedette (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Drupal 6 Performance Tips - Core Drupal Performance Tutorial

  • 1. Drupal Core Performance Tutorial Presented by Trevor James Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA http://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/
  • 2. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Author Trevor James | Drupal Developer & Webmaster | http://variantcube.com/ Trevor has been designing Web sites for over 13 years, specializing in HTML, CSS, ColdFusion, and has worked with Drupal intensively for over 2 years. Trevor is interested in all aspects of Drupal including best methods of developing Drupal themes, Drupal site performance, and using CCK, Views and Panels to develop Frontend interfaces to support data intensive Web sites. Trevor is currently working on a number of Drupal related projects for non-profit, Education-based and small business organizations. Trevor created an 11.5 hour video tutorial series comprising 114 lessons titled Introduction to Drupal 6 for VTC (Virtual Training Company) in 2009. The videos are Available here:
  • 3.
  • 4.
  • 5. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Page caching contd. 4. If you select Aggressive caching bear in mind that some contributed modules may not function correctly. If this is the case usually the contributed module will show a “flag” here to warn you of any possible side effects. 5. Choose a Minimum cache lifetime for your cache mode. This is the minimum time that will pass before the performance cache on your site is emptied.
  • 6. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Minimum cache lifetime A note here on setting your minimum cache lifetime. There’s always a tradeoff with this configuration. If you set the cache lifetime high such as 1 day, you’ll get better performance overall on your site since the site will cache pages for 24 hours at a time. However setting the configuration to 1 day will also prevent your anonymous users from seeing new content on your site’s pages especially if they frequent your site on a more regular basis such as hourly. It’s better to start with a shorter cache lifetime (such as 1-3 hours) and see if that” helps to speed up your site’s performance while still offering your site visitors new content as it’s posted (or as closest to post time as possible).
  • 7. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Page compression You can set Drupal to compress pages by enabling the Page compression setting. Page compression if enabled will help save bandwidth and improve download times on your site. Just be careful if you are also compressing pages via your Web server. If this is the case the 2 configurations may conflict. If you are using Page compression already on your Web server you do not need to set Drupal to compress pages here.
  • 8. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Block caching Your Drupal core performance configuration also allows you to either enable or disable Block caching. If you do enable block caching, the performance increases here will mostly Benefit all of your site’s users including both anonymous and authenticated users.
  • 9. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Optimize your CSS files If you have created a custom theme for your Drupal site you may be using a bunch of CSS files to control your theme styling. For example you might have a main “style.css” file as well as specific stylesheets for your Views and blocks; print style sheets for your printer friendly content; and browser specific stylesheets for IE, Firefox and/or Safari. At load time your site’s theme can use valuable resources having to load each of these stylesheets and all of their code. Drupal provides a method of optimizing the CSS load time by compressing all of the CSS into one stylesheet that gets loaded and cached in the site visitor’s browser session. The CSS files are aggregated and compressed into a single file if you select to enable CSS files optimization here on your main Drupal performance page.
  • 10. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Optimize your Javascript files Like enabling your CSS optimization, you can also select to optimize your Javascript files. Again this will come down to how many Javascript files you are running on your site. If you are loading many JS files then you will most likely want to enable this optimization. If you only have a couple JS files in your site then you can safely ignore this setting. Like all Drupal core performance settings try each configuration out on your site and see if it makes a large difference in site performance. You can enable these core performance settings and then use a module such as Development (discussed in detail in Drupal 6 Performance Tips) to monitor page load times and queries. You can then compare the load times when you have the settings enabled and when you have them disabled.
  • 11. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Clear your performance cache Finally on the Drupal core performance configuration page you’ll notice that there is a button at the bottom of the page that allows you to clear cached data. This is an additional option to allow you to manually clear your Drupal cache before your minimum cache lifetime cycle runs. You have full control over your core cache with this button – you can clear it at any time as long as you are logged in as your super user #1 admin account.
  • 12. Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA Sample Chapter and Articles Visit the Packt Publishing Web site for a sample chapter from the book and Articles excerpted from the book – both chapter and articles are available as PDF downloads: Sample Chapter 5: Using DB Maintenance and Boost: http://www.packtpub.com/files/5845_Drupal%206%20Performance%20Tips_%20SampleChapter.pdf Articles: Drupal 6 Performance Optimization Using Throttle and Devel Module Drupal 6 Performance Optimization Using Views and Panels Caching
  • 13.
  • 14. Buy the book now at Packtpub.com The title is also available via Amazon.com ; and via links on my Web site, variantcube.com Trevor James | Drupal Developer | drupal6performancetips@gmail.com | USA http://www.packtpub.com/drupal-6-performance-tips-to-maximize-and-optimize-your-framework/