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 10 Powerful Ways to Optimize Your EE Site

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 10 Powerful Ways to Optimize Your EE Site (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
 
presentation
presentationpresentation
presentation
 
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
 
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

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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, ...
 
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
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

10 Powerful Ways to Optimize Your EE Site

  • 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...