SlideShare a Scribd company logo
1 of 19
Download to read offline
ExpressionEngine Optimization

           Best Practices

     Tips and Other Stuff

    aka: More Bling than Ryan Ireland’s
           Presented by Leslie Doherty
          On behalf of Engine Hosting and Whooze
I.
Template And Design
  Embedded Template
  Use The Disable= tag
  Consider Conditionals
Embedded Templates
• Great for organization, not so great for server
  speed.
• If you arenʼt calling variables within the
  additional templates, youʼre just using a sub-
  page within a page.
• Take a look at what youʼre utilizing your
  embeds for.
• If, for example, youʼre using embeds to call a
  javascript or other standard variables itʼs best
  to use the Template => Global Variables.
Use the disable= tag
• EE calls variables unless you tell it not to by
  using disable= in your weblog:entries
  parameter.
• There are six things that can be turned off:
   –   categories
   –   category_fields
   –   custom_fields
   –   member_data
   –   pagination
   –   trackbacks
• Example: disable="categories|custom_fields|member_data|
  pagination|trackbacks”
Consider Conditionals
• Simple Conditionals consist of only one “if” statement
  and wrap the EE tags. They are processed before the
  tag itself. (So if the answer is false, the tag is not
  processed at all)
• All other conditionals get processed after the EE
  variables are loaded. It makes sense that several
  “if:elseif” statements will cause a larger load
• Embeds are processed after Advanced Conditionals,
  so using the {embed=""} tag in any conditional means
  the condition has to be true before the tag is
  processed.
II.
Maintenance and Optimization
       Unused Templates
       Optimized Tables
           Upgrade
Removing Unused Data
• Remove any unused template groups,
  weblogs, category groups, etc.
• This helps organize your site and creates
  an environment easier for debugging
• New developers will have a more effective
  understanding
Repair & Optimize Your Tables
• Admin => SQL Manager
• Use the "Optimize" drop down at the bottom
  to help MySQL “defrag” and close up
  unused space.
• Creates better, faster queries.
Keep EE upgraded
• It seems obvious, but it’s not.
• This includes addons that you are using.
• Have a system for upgrading clients that is
  effective. (versioning, etc)
III.
Caching and Tuning

   Template Caching
   Solspace Addons
    MySQL Tuning
Template Caching
• Each URI gets cached individually.
• If you type in a misc. URI, the page will also
  be cached. This means it’s possible to
  create multiple cache files of a single page.
• However, this caching is the Single Caching
  Element recommended by EllisLab as a
  standard.
Other Caching
• “If your site is hosted on an environment
  using NAS/SAN storage for single or load-
  balanced web servers” caching aside from
  template caching could double server load.
• -From the EE documentation
solspace Addons
• Template Morsels: ache a snippet of code
  after processing and that result is called in a
  single tag.
• Static Page Caching: When using a static
  page, create a cache that bypasses EE
  vairable calls altogether.
MySQL Tuning

• Max Connections. At least 500.
• Query Cache. Enable.
• Table Cache. At least 120.
High Traffic and MySQL
         (YourSQL?)
• Tracking updates certain tables on every
  page load. This can lead to a locked table.
  Turn off temporarily in Control Panel
  Tracking Preferences.
• If youʼre unable to access your admin area,
  see the EE documentation for config.php
  variables to use as an override.
Resources
• http://blog.mysqltuner.com/
• http://broadcast.oreilly.com/2009/10/your-
  cloud-needs-a-sys-admin.html
• http://www.solspace.com/downloads/
  PerformanceGuidelines.pdf
Community
• In the sense of the true community of
  ExpressionEngine, I’d like to see who are
  veterans, who are just starting and pair up
  to talk specific examples.
• Let’s work on our trouble sites, examples,
  and tips from each other.
• I’m here to mime your answers.
Thank you
• Nevin and http://enginehosting.com has
  graciously offered a discount if you email or call
  to let him know you’ll be signing up. If you’re at
  the EECI conference, you can get a discount by
  saying, “That crazy girl Leslie sent me.”
• I think you have to use those exact words.
• Special Thanks to Whooze and
  EngineHosting.
• Find me at twitter: mrsflinger
• Or at my new job: BlueFlavor.Com


       And, to Paul...for being the voice...

More Related Content

What's hot

High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPressBarry Abrahamson
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSiteGround.com
 
Website Performance
Website PerformanceWebsite Performance
Website PerformanceHugo Fonseca
 
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Serverless WordPress using AWS Services - WordCamp Atlanta 2017Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Serverless WordPress using AWS Services - WordCamp Atlanta 2017Carel Bekker
 
Speeding Up WordPress sites
Speeding Up WordPress sitesSpeeding Up WordPress sites
Speeding Up WordPress sitesJason Yingling
 
20130714 php matsuri - highly available php
20130714   php matsuri - highly available php20130714   php matsuri - highly available php
20130714 php matsuri - highly available phpGraham Weldon
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server SecurityPeter Baylies
 
Installing wordpress
Installing wordpressInstalling wordpress
Installing wordpressDave Wallace
 
Optimizing WordPress (WordCamp Philly 2011)
Optimizing WordPress (WordCamp Philly 2011)Optimizing WordPress (WordCamp Philly 2011)
Optimizing WordPress (WordCamp Philly 2011)Ben Metcalfe
 
The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp RaleighLauren Jeffcoat
 
Content Management Systems (CMS) & Wordpress theme development
Content Management Systems (CMS) & Wordpress theme developmentContent Management Systems (CMS) & Wordpress theme development
Content Management Systems (CMS) & Wordpress theme developmentDave Wallace
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress themeDave Wallace
 
Openxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento OptimizationOpenxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento OptimizationOpenXcell Technolabs
 
Lg conf upgrade migrate and virtualisation with share-point 2010
Lg conf   upgrade migrate and virtualisation with share-point 2010Lg conf   upgrade migrate and virtualisation with share-point 2010
Lg conf upgrade migrate and virtualisation with share-point 2010Alan Richards
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPressJohannes Siipola
 
How to organize the business layer in software
How to organize the business layer in softwareHow to organize the business layer in software
How to organize the business layer in softwareArnaud LEMAIRE
 
Advance java session 9
Advance java session 9Advance java session 9
Advance java session 9Smita B Kumar
 

What's hot (20)

High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPress
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla Website
 
Website Performance
Website PerformanceWebsite Performance
Website Performance
 
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Serverless WordPress using AWS Services - WordCamp Atlanta 2017Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
 
Ithemes presentation
Ithemes presentationIthemes presentation
Ithemes presentation
 
Speeding Up WordPress sites
Speeding Up WordPress sitesSpeeding Up WordPress sites
Speeding Up WordPress sites
 
20130714 php matsuri - highly available php
20130714   php matsuri - highly available php20130714   php matsuri - highly available php
20130714 php matsuri - highly available php
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
 
WordPress & AJC
WordPress & AJCWordPress & AJC
WordPress & AJC
 
Installing wordpress
Installing wordpressInstalling wordpress
Installing wordpress
 
Speed!
Speed!Speed!
Speed!
 
Optimizing WordPress (WordCamp Philly 2011)
Optimizing WordPress (WordCamp Philly 2011)Optimizing WordPress (WordCamp Philly 2011)
Optimizing WordPress (WordCamp Philly 2011)
 
The Power of a Video Library - WordCamp Raleigh
The  Power of a Video Library - WordCamp RaleighThe  Power of a Video Library - WordCamp Raleigh
The Power of a Video Library - WordCamp Raleigh
 
Content Management Systems (CMS) & Wordpress theme development
Content Management Systems (CMS) & Wordpress theme developmentContent Management Systems (CMS) & Wordpress theme development
Content Management Systems (CMS) & Wordpress theme development
 
Anatomy of a Wordpress theme
Anatomy of a Wordpress themeAnatomy of a Wordpress theme
Anatomy of a Wordpress theme
 
Openxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento OptimizationOpenxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento Optimization
 
Lg conf upgrade migrate and virtualisation with share-point 2010
Lg conf   upgrade migrate and virtualisation with share-point 2010Lg conf   upgrade migrate and virtualisation with share-point 2010
Lg conf upgrade migrate and virtualisation with share-point 2010
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
 
How to organize the business layer in software
How to organize the business layer in softwareHow to organize the business layer in software
How to organize the business layer in software
 
Advance java session 9
Advance java session 9Advance java session 9
Advance java session 9
 

Viewers also liked

Projektmanager bite struktur-granularitaet
Projektmanager bite struktur-granularitaetProjektmanager bite struktur-granularitaet
Projektmanager bite struktur-granularitaetBITE GmbH
 
Tecnopur: Sistema Iónico de purificación de Agua
Tecnopur: Sistema Iónico de purificación de AguaTecnopur: Sistema Iónico de purificación de Agua
Tecnopur: Sistema Iónico de purificación de AguaArlett Belmont
 
Ou2009 Steuerungsgremium Kurzfassung
Ou2009 Steuerungsgremium KurzfassungOu2009 Steuerungsgremium Kurzfassung
Ou2009 Steuerungsgremium Kurzfassungwolfplum
 

Viewers also liked (7)

Projektmanager bite struktur-granularitaet
Projektmanager bite struktur-granularitaetProjektmanager bite struktur-granularitaet
Projektmanager bite struktur-granularitaet
 
Zebra
ZebraZebra
Zebra
 
Tecnopur: Sistema Iónico de purificación de Agua
Tecnopur: Sistema Iónico de purificación de AguaTecnopur: Sistema Iónico de purificación de Agua
Tecnopur: Sistema Iónico de purificación de Agua
 
Ou2009 Steuerungsgremium Kurzfassung
Ou2009 Steuerungsgremium KurzfassungOu2009 Steuerungsgremium Kurzfassung
Ou2009 Steuerungsgremium Kurzfassung
 
DIE MARKTMEINUNG AUS STUTTGART: Unsichere Zeiten
DIE MARKTMEINUNG AUS STUTTGART: Unsichere ZeitenDIE MARKTMEINUNG AUS STUTTGART: Unsichere Zeiten
DIE MARKTMEINUNG AUS STUTTGART: Unsichere Zeiten
 
Uber den-intihuatana-von-machu-picchu
Uber den-intihuatana-von-machu-picchuUber den-intihuatana-von-machu-picchu
Uber den-intihuatana-von-machu-picchu
 
Klaus Kluge & Stefanie Folle: Bastei Lübbe probt den Concept Store
Klaus Kluge & Stefanie Folle: Bastei Lübbe probt den Concept StoreKlaus Kluge & Stefanie Folle: Bastei Lübbe probt den Concept Store
Klaus Kluge & Stefanie Folle: Bastei Lübbe probt den Concept Store
 

Similar to EE Optimization: Best Practices for Template, Maintenance, Caching & MySQL Tuning

Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Jess Coburn
 
Best Practices for Building WordPress Applications
Best Practices for Building WordPress ApplicationsBest Practices for Building WordPress Applications
Best Practices for Building WordPress ApplicationsTaylor Lovett
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Dutyreedmaniac
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702Jess Coburn
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your WebsiteAcquia
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyLeslie Doherty
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
 
http://www.hfadeel.com/Blog/?p=151
http://www.hfadeel.com/Blog/?p=151http://www.hfadeel.com/Blog/?p=151
http://www.hfadeel.com/Blog/?p=151xlight
 
Drupal 8 theming deep dive
Drupal 8 theming deep diveDrupal 8 theming deep dive
Drupal 8 theming deep diveRomain Jarraud
 
MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014Ryusuke Kajiyama
 
Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018Scott Wilson
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7Olivier DASINI
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Antonios Chatzipavlis
 
Best Practices for WordPress
Best Practices for WordPressBest Practices for WordPress
Best Practices for WordPressTaylor Lovett
 
Drupal 7: Theming with Omega
Drupal 7: Theming with OmegaDrupal 7: Theming with Omega
Drupal 7: Theming with OmegaEric Sembrat
 
The Joy of Subforms with Randy Carey
The Joy of Subforms with Randy CareyThe Joy of Subforms with Randy Carey
The Joy of Subforms with Randy Careyjdaychi
 
What SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePointWhat SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePointJ.D. Wade
 

Similar to EE Optimization: Best Practices for Template, Maintenance, Caching & MySQL Tuning (20)

Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11
 
Best Practices for Building WordPress Applications
Best Practices for Building WordPress ApplicationsBest Practices for Building WordPress Applications
Best Practices for Building WordPress Applications
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
 
Add-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his DutyAdd-On Development: EE Expects that Every Developer will do his Duty
Add-On Development: EE Expects that Every Developer will do his Duty
 
presentation
presentationpresentation
presentation
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
 
http://www.hfadeel.com/Blog/?p=151
http://www.hfadeel.com/Blog/?p=151http://www.hfadeel.com/Blog/?p=151
http://www.hfadeel.com/Blog/?p=151
 
Drupal 8 theming deep dive
Drupal 8 theming deep diveDrupal 8 theming deep dive
Drupal 8 theming deep dive
 
MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014MySQL Performance Tuning at COSCUP 2014
MySQL Performance Tuning at COSCUP 2014
 
Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018Automate Server Mastery by Stack Advisors - Automation Nation 2018
Automate Server Mastery by Stack Advisors - Automation Nation 2018
 
Grails Services
Grails ServicesGrails Services
Grails Services
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
Best Practices for WordPress
Best Practices for WordPressBest Practices for WordPress
Best Practices for WordPress
 
Drupal 7: Theming with Omega
Drupal 7: Theming with OmegaDrupal 7: Theming with Omega
Drupal 7: Theming with Omega
 
The Joy of Subforms with Randy Carey
The Joy of Subforms with Randy CareyThe Joy of Subforms with Randy Carey
The Joy of Subforms with Randy Carey
 
What SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePointWhat SQL DBA's need to know about SharePoint
What SQL DBA's need to know about SharePoint
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

EE Optimization: Best Practices for Template, Maintenance, Caching & MySQL Tuning

  • 1. ExpressionEngine Optimization Best Practices Tips and Other Stuff aka: More Bling than Ryan Ireland’s Presented by Leslie Doherty On behalf of Engine Hosting and Whooze
  • 2. I. Template And Design Embedded Template Use The Disable= tag Consider Conditionals
  • 3. Embedded Templates • Great for organization, not so great for server speed. • If you arenʼt calling variables within the additional templates, youʼre just using a sub- page within a page. • Take a look at what youʼre utilizing your embeds for. • If, for example, youʼre using embeds to call a javascript or other standard variables itʼs best to use the Template => Global Variables.
  • 4. Use the disable= tag • EE calls variables unless you tell it not to by using disable= in your weblog:entries parameter. • There are six things that can be turned off: – categories – category_fields – custom_fields – member_data – pagination – trackbacks • Example: disable="categories|custom_fields|member_data| pagination|trackbacks”
  • 5. Consider Conditionals • Simple Conditionals consist of only one “if” statement and wrap the EE tags. They are processed before the tag itself. (So if the answer is false, the tag is not processed at all) • All other conditionals get processed after the EE variables are loaded. It makes sense that several “if:elseif” statements will cause a larger load • Embeds are processed after Advanced Conditionals, so using the {embed=""} tag in any conditional means the condition has to be true before the tag is processed.
  • 6. II. Maintenance and Optimization Unused Templates Optimized Tables Upgrade
  • 7. Removing Unused Data • Remove any unused template groups, weblogs, category groups, etc. • This helps organize your site and creates an environment easier for debugging • New developers will have a more effective understanding
  • 8. Repair & Optimize Your Tables • Admin => SQL Manager • Use the "Optimize" drop down at the bottom to help MySQL “defrag” and close up unused space. • Creates better, faster queries.
  • 9. Keep EE upgraded • It seems obvious, but it’s not. • This includes addons that you are using. • Have a system for upgrading clients that is effective. (versioning, etc)
  • 10. III. Caching and Tuning Template Caching Solspace Addons MySQL Tuning
  • 11. Template Caching • Each URI gets cached individually. • If you type in a misc. URI, the page will also be cached. This means it’s possible to create multiple cache files of a single page. • However, this caching is the Single Caching Element recommended by EllisLab as a standard.
  • 12. Other Caching • “If your site is hosted on an environment using NAS/SAN storage for single or load- balanced web servers” caching aside from template caching could double server load. • -From the EE documentation
  • 13. solspace Addons • Template Morsels: ache a snippet of code after processing and that result is called in a single tag. • Static Page Caching: When using a static page, create a cache that bypasses EE vairable calls altogether.
  • 14. MySQL Tuning • Max Connections. At least 500. • Query Cache. Enable. • Table Cache. At least 120.
  • 15. High Traffic and MySQL (YourSQL?) • Tracking updates certain tables on every page load. This can lead to a locked table. Turn off temporarily in Control Panel Tracking Preferences. • If youʼre unable to access your admin area, see the EE documentation for config.php variables to use as an override.
  • 16. Resources • http://blog.mysqltuner.com/ • http://broadcast.oreilly.com/2009/10/your- cloud-needs-a-sys-admin.html • http://www.solspace.com/downloads/ PerformanceGuidelines.pdf
  • 17. Community • In the sense of the true community of ExpressionEngine, I’d like to see who are veterans, who are just starting and pair up to talk specific examples. • Let’s work on our trouble sites, examples, and tips from each other. • I’m here to mime your answers.
  • 18. Thank you • Nevin and http://enginehosting.com has graciously offered a discount if you email or call to let him know you’ll be signing up. If you’re at the EECI conference, you can get a discount by saying, “That crazy girl Leslie sent me.” • I think you have to use those exact words.
  • 19. • Special Thanks to Whooze and EngineHosting. • Find me at twitter: mrsflinger • Or at my new job: BlueFlavor.Com And, to Paul...for being the voice...