SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
15 / 03 / 2015 - Drupal Camp Cluj 2015
Make your Drupal site perform
Like an athlete
Gabriel
Ungureanu
CEO @ AG Prime, Cluj-Napoca

www.ag-prime.com
Drupal developer for 7 years

https://www.drupal.org/u/
gabrielu
Drupal module developer and
Drupal 8 Sprinter
Open source enthusiastic
Why performance matters?
Visitors spend less than 2 seconds to make an impression,
Google finds you relevant if the page loads in less than 2
seconds,
Download speeds differ depending on where your end-user is
located,
People browse internet in the train, bus, airport, etc.,
Mobile devices (getting more and more) running mobile
internet care about content size.
Performance key-points
Performance key-points
1. Server response time
2. Page download time
3. Page render time
1. Server response time
Check your traffic
expectations,
Decide your server structure,
what type of data do you host?
Anonymous user
Authenticated pages
Binary data (images, video)
Low traffic website
A virtual machine can do the job
Activate Drupal caching (per page, per block, per view)
De-activate Database logging (on the server as well)
Disable Devel module, UI modules
Activate CSS / JS Aggregation (see Advanced
Aggregation for IE support :) )
Medium traffic
Memory caching (key-value pair storing)
Memcache: https://www.drupal.org/project/memcache
Redis: https://www.drupal.org/project/redis

Can also persist data after restart. Useful for session
storing
Heavy static content / Boost https://www.drupal.org/
project/boost
High traffic
A set of three
Varnish (cache server),
Application server (Drupal) - Apache or Nginx,
Database server (MySQL).
No revision
Drupal has out-of-the-box revision control, you don’t
need it in most of the cases,
https://www.drupal.org/project/
field_sql_norevisions
Custom distribution
Pressflow

A distribution of Drupal with integrated performance,
scalability, availability, and testing enhancements.
Cloud hosting
Acquia Cloud

https://www.acquia.com/products-services/acquia-
cloud
Platform.sh / Developed by Commerce Guys

https://platform.sh/
Pantheon

https://pantheon.io/
The Amazon
Cloud
Elastic Cloud
RDS (Database instances)
Load balancer (pay per minute)
Spot instances (run cheap clone
of your EC2 instance when your
computing needs grow)
http://www.ag-prime.com/
leverages AWS to host high
performing sites.
2. Page download time
Time to download necessary files from the Server to the User’s device
AGGREGATE CSS AND JS
FILES
Make sure that:
Aggregating the content does not break your site,
Make sure CSS rules are correct and don`t rely on
their position in the file.
It loads correctly on all browsers (see IE Limits per
Stylesheet). There is a Drupal solution for this as
well, it is called Advanced Aggregation: https://
www.drupal.org/project/advagg
Use image
sprites
Include more graphics into a single file,
Make the graphic files as small as
possible,
Select them using CSS positioning.
Use SVG’s and IconFonts
Smaller size, vector information represents the text
format that defines it;
It's scalable, this means you can easily scale your
graphics when drawing a responsive layout;
IconFonts: http://css-tricks.com/examples/
IconFont/
DNS & HTTP2
Make fewer DNS lookups, load the content to as FEW
different domains as possible;
Aggregate content, load less files, consider using
HTTP2 / SPDY;
3. Page render time
Optimise the order of your content, put the important parts
at the top and move the less important at the bottom (eg.
move unnecessary Javascript files at the end of your
document);
Use valid markup, valid markup allows the rendering
engine to make less guesses;
Use as few tags as possible. You can consider starting with a
light theme, like https://www.drupal.org/project/
mothership
Load content with Ajax
Quickly deliver pages from cache, then update content
with Javascript at runtime;
Usage:
Commerce sites
News sites
Display comments, votes, etc.
Authenticated
users
Authenticated users constantly
see different content;
Pages, Blocks, Views, Forms
have different cache rules;
https://www.drupal.org/
project/authcache
Questions?
http://fiipractic.asii.ro/cj/back-end-development

Mais conteúdo relacionado

Mais procurados

How to Boost WordPress Site Speed in 10 Steps
How to Boost WordPress Site Speed in 10 StepsHow to Boost WordPress Site Speed in 10 Steps
How to Boost WordPress Site Speed in 10 StepsLazylord
 
Fantástico mundo mobile-first, cloud first Oportunidade para TODOS
Fantástico mundo mobile-first, cloud first Oportunidade para TODOSFantástico mundo mobile-first, cloud first Oportunidade para TODOS
Fantástico mundo mobile-first, cloud first Oportunidade para TODOSVinícius Batista de Souza
 

Mais procurados (6)

Lab#13 responsive web
Lab#13 responsive webLab#13 responsive web
Lab#13 responsive web
 
How to Boost WordPress Site Speed in 10 Steps
How to Boost WordPress Site Speed in 10 StepsHow to Boost WordPress Site Speed in 10 Steps
How to Boost WordPress Site Speed in 10 Steps
 
How to develop browser extension
How to develop browser extensionHow to develop browser extension
How to develop browser extension
 
jQuery Mobile
jQuery MobilejQuery Mobile
jQuery Mobile
 
Versulo (2)
Versulo (2)Versulo (2)
Versulo (2)
 
Fantástico mundo mobile-first, cloud first Oportunidade para TODOS
Fantástico mundo mobile-first, cloud first Oportunidade para TODOSFantástico mundo mobile-first, cloud first Oportunidade para TODOS
Fantástico mundo mobile-first, cloud first Oportunidade para TODOS
 

Semelhante a Make your Drupal site perform like an athlete

DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingAshok Modi
 
Drupal Frontend Performance and Scalability
Drupal Frontend Performance and ScalabilityDrupal Frontend Performance and Scalability
Drupal Frontend Performance and ScalabilityAshok Modi
 
Drupal on windows azure
Drupal on windows azureDrupal on windows azure
Drupal on windows azureSteve Xu
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)clickramanm
 
Drupal performance and scalability
Drupal performance and scalabilityDrupal performance and scalability
Drupal performance and scalabilityTwinbit
 
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheel
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheelАртем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheel
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheelLEDC 2016
 
Frontend Optimization - Tips for Improving the Performance of Single Page App...
Frontend Optimization - Tips for Improving the Performance of Single Page App...Frontend Optimization - Tips for Improving the Performance of Single Page App...
Frontend Optimization - Tips for Improving the Performance of Single Page App...QBurst
 
Improving Drupal Performances
Improving Drupal PerformancesImproving Drupal Performances
Improving Drupal PerformancesVladimir Ilic
 
Building high performance web apps.
Building high performance web apps.Building high performance web apps.
Building high performance web apps.Arshak Movsisyan
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pagesNilesh Bafna
 
Oracle UCM: Web Site Performance Tuning
Oracle UCM: Web Site Performance TuningOracle UCM: Web Site Performance Tuning
Oracle UCM: Web Site Performance TuningBrian Huff
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client LevelConstantin Stan
 
7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development servicesKaty Slemon
 
Measuring Web Performance
Measuring Web Performance Measuring Web Performance
Measuring Web Performance Dave Olsen
 
Frontend performance
Frontend performanceFrontend performance
Frontend performancesacred 8
 
Drupal & AngularJS - DrupalCamp Spain 2014
Drupal & AngularJS - DrupalCamp Spain 2014Drupal & AngularJS - DrupalCamp Spain 2014
Drupal & AngularJS - DrupalCamp Spain 2014Juampy NR
 

Semelhante a Make your Drupal site perform like an athlete (20)

DrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizingDrupalCampLA 2011 - Drupal frontend-optimizing
DrupalCampLA 2011 - Drupal frontend-optimizing
 
Drupal Frontend Performance and Scalability
Drupal Frontend Performance and ScalabilityDrupal Frontend Performance and Scalability
Drupal Frontend Performance and Scalability
 
Drupal on windows azure
Drupal on windows azureDrupal on windows azure
Drupal on windows azure
 
WordPress optimization
WordPress optimizationWordPress optimization
WordPress optimization
 
Performace optimization (increase website speed)
Performace optimization (increase website speed)Performace optimization (increase website speed)
Performace optimization (increase website speed)
 
Drupal performance and scalability
Drupal performance and scalabilityDrupal performance and scalability
Drupal performance and scalability
 
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheel
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheelАртем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheel
Артем Сильчук - Respond in 60ms. Extremal optimization with reinventing a wheel
 
Hello Cloud
Hello CloudHello Cloud
Hello Cloud
 
Frontend Optimization - Tips for Improving the Performance of Single Page App...
Frontend Optimization - Tips for Improving the Performance of Single Page App...Frontend Optimization - Tips for Improving the Performance of Single Page App...
Frontend Optimization - Tips for Improving the Performance of Single Page App...
 
Improving Drupal Performances
Improving Drupal PerformancesImproving Drupal Performances
Improving Drupal Performances
 
Building high performance web apps.
Building high performance web apps.Building high performance web apps.
Building high performance web apps.
 
Building high performing web pages
Building high performing web pagesBuilding high performing web pages
Building high performing web pages
 
Oracle UCM: Web Site Performance Tuning
Oracle UCM: Web Site Performance TuningOracle UCM: Web Site Performance Tuning
Oracle UCM: Web Site Performance Tuning
 
Website speed
Website speedWebsite speed
Website speed
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client Level
 
7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services7 secrets of performance oriented front end development services
7 secrets of performance oriented front end development services
 
Measuring Web Performance
Measuring Web Performance Measuring Web Performance
Measuring Web Performance
 
Frontend performance
Frontend performanceFrontend performance
Frontend performance
 
Drupalcon Mumbai
Drupalcon MumbaiDrupalcon Mumbai
Drupalcon Mumbai
 
Drupal & AngularJS - DrupalCamp Spain 2014
Drupal & AngularJS - DrupalCamp Spain 2014Drupal & AngularJS - DrupalCamp Spain 2014
Drupal & AngularJS - DrupalCamp Spain 2014
 

Mais de AG Prime

State of Drupal Romania
State of Drupal RomaniaState of Drupal Romania
State of Drupal RomaniaAG Prime
 
Drupal content types : user roles
Drupal content types : user rolesDrupal content types : user roles
Drupal content types : user rolesAG Prime
 
Drupal ro comunity
Drupal ro comunityDrupal ro comunity
Drupal ro comunityAG Prime
 
Drupal themes
Drupal themesDrupal themes
Drupal themesAG Prime
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupalAG Prime
 
Contribute to drupal
Contribute to drupalContribute to drupal
Contribute to drupalAG Prime
 
Drupal Case Study
Drupal Case StudyDrupal Case Study
Drupal Case StudyAG Prime
 
Code Retreat
Code RetreatCode Retreat
Code RetreatAG Prime
 
Drupal Basics
Drupal BasicsDrupal Basics
Drupal BasicsAG Prime
 

Mais de AG Prime (9)

State of Drupal Romania
State of Drupal RomaniaState of Drupal Romania
State of Drupal Romania
 
Drupal content types : user roles
Drupal content types : user rolesDrupal content types : user roles
Drupal content types : user roles
 
Drupal ro comunity
Drupal ro comunityDrupal ro comunity
Drupal ro comunity
 
Drupal themes
Drupal themesDrupal themes
Drupal themes
 
Introduction to drupal
Introduction to drupalIntroduction to drupal
Introduction to drupal
 
Contribute to drupal
Contribute to drupalContribute to drupal
Contribute to drupal
 
Drupal Case Study
Drupal Case StudyDrupal Case Study
Drupal Case Study
 
Code Retreat
Code RetreatCode Retreat
Code Retreat
 
Drupal Basics
Drupal BasicsDrupal Basics
Drupal Basics
 

Último

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
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
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
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...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Make your Drupal site perform like an athlete

  • 1. 15 / 03 / 2015 - Drupal Camp Cluj 2015 Make your Drupal site perform Like an athlete
  • 2. Gabriel Ungureanu CEO @ AG Prime, Cluj-Napoca
 www.ag-prime.com Drupal developer for 7 years
 https://www.drupal.org/u/ gabrielu Drupal module developer and Drupal 8 Sprinter Open source enthusiastic
  • 3. Why performance matters? Visitors spend less than 2 seconds to make an impression, Google finds you relevant if the page loads in less than 2 seconds, Download speeds differ depending on where your end-user is located, People browse internet in the train, bus, airport, etc., Mobile devices (getting more and more) running mobile internet care about content size.
  • 5. Performance key-points 1. Server response time 2. Page download time 3. Page render time
  • 6. 1. Server response time Check your traffic expectations, Decide your server structure, what type of data do you host? Anonymous user Authenticated pages Binary data (images, video)
  • 7. Low traffic website A virtual machine can do the job Activate Drupal caching (per page, per block, per view) De-activate Database logging (on the server as well) Disable Devel module, UI modules Activate CSS / JS Aggregation (see Advanced Aggregation for IE support :) )
  • 8.
  • 9. Medium traffic Memory caching (key-value pair storing) Memcache: https://www.drupal.org/project/memcache Redis: https://www.drupal.org/project/redis
 Can also persist data after restart. Useful for session storing Heavy static content / Boost https://www.drupal.org/ project/boost
  • 10. High traffic A set of three Varnish (cache server), Application server (Drupal) - Apache or Nginx, Database server (MySQL).
  • 11.
  • 12.
  • 13. No revision Drupal has out-of-the-box revision control, you don’t need it in most of the cases, https://www.drupal.org/project/ field_sql_norevisions
  • 14. Custom distribution Pressflow
 A distribution of Drupal with integrated performance, scalability, availability, and testing enhancements.
  • 15. Cloud hosting Acquia Cloud
 https://www.acquia.com/products-services/acquia- cloud Platform.sh / Developed by Commerce Guys
 https://platform.sh/ Pantheon
 https://pantheon.io/
  • 16. The Amazon Cloud Elastic Cloud RDS (Database instances) Load balancer (pay per minute) Spot instances (run cheap clone of your EC2 instance when your computing needs grow) http://www.ag-prime.com/ leverages AWS to host high performing sites.
  • 17. 2. Page download time Time to download necessary files from the Server to the User’s device
  • 18. AGGREGATE CSS AND JS FILES Make sure that: Aggregating the content does not break your site, Make sure CSS rules are correct and don`t rely on their position in the file. It loads correctly on all browsers (see IE Limits per Stylesheet). There is a Drupal solution for this as well, it is called Advanced Aggregation: https:// www.drupal.org/project/advagg
  • 19. Use image sprites Include more graphics into a single file, Make the graphic files as small as possible, Select them using CSS positioning.
  • 20. Use SVG’s and IconFonts Smaller size, vector information represents the text format that defines it; It's scalable, this means you can easily scale your graphics when drawing a responsive layout; IconFonts: http://css-tricks.com/examples/ IconFont/
  • 21. DNS & HTTP2 Make fewer DNS lookups, load the content to as FEW different domains as possible; Aggregate content, load less files, consider using HTTP2 / SPDY;
  • 22. 3. Page render time Optimise the order of your content, put the important parts at the top and move the less important at the bottom (eg. move unnecessary Javascript files at the end of your document); Use valid markup, valid markup allows the rendering engine to make less guesses; Use as few tags as possible. You can consider starting with a light theme, like https://www.drupal.org/project/ mothership
  • 23. Load content with Ajax Quickly deliver pages from cache, then update content with Javascript at runtime; Usage: Commerce sites News sites Display comments, votes, etc.
  • 24. Authenticated users Authenticated users constantly see different content; Pages, Blocks, Views, Forms have different cache rules; https://www.drupal.org/ project/authcache
  • 25.