(Go: >> BACK << -|- >> HOME <<)

SlideShare a Scribd company logo
Neera Prajapati
https://www.drupal.org/u/neeraprajapati
Performance Optimization in
Drupal 8
● What is Web performance.
● What is performance optimization.
● Why Website Loading Speed Matters.
● How to boost site performance.
● How can we test website speed.
Agenda
What is web performance
Web performance refers to the speed in which web pages are
downloaded and displayed on the user's web browser. Web
performance optimization, or website optimization is the field of
knowledge about increasing web performance.
Website performance is a hugely important topic,so big
companies of the Web are obsessed with it. For the Googles,
Yahoos, Amazons and eBays.
What is performance optimization
When we modify a website specifically to increase the loading
speed, this is what’s called performance optimization.
Web pages and websites are getting bigger and becoming more
complex every day. But when a website does not load quickly,
it affects visitor’s behavior, which leads to decreases site
revenue.
Why Website Loading Speed
Matters
● User Satisfaction: It simply means, If your site loading time is high,
it directly affects the satisfaction or the dissatisfaction levels of
your visitors. They generally expect a fast and reliable online user
experience and if the website is unable to deliver on their
expectation, they will abandon it.
● Improved Search Rankings: Google’s algorithm uses a multiple
factors to determine how to rank search engine results and
loading time is one of the important factor of them.
Why Website Loading Speed
Matters… Cont.
● Mobile Users: In today’s era most of the people use mobile for
web surfing rather than using desktop or laptop so loading
time for mobile users is an important factor. Main reason for
that, they are used to have slower internet speed.
How important is web
performance in Drupal 8 sites
Drupal 8 is a powerful and versatile content management system
then Drupal 7. However, that power can come with drawbacks,
including the speed of your site. Whenever you load a Drupal page,
there is a lot going on behind the scenes, involving your database,
PHP, CSS, Javascript and more.
How to boost performance
In Drupal, there are specific tools and modules are available to
optimize the site speed just you need to know them and use.
Caching is a very popular technique for optimization that
significantly affect the performance.
Cache roles in web performance
Caching is a significant part of site performance improvement. It is
broad term refers to the process that store data in some accessible
space so that can be retrieved easily (a platform where we can store
the data and fetch and display it easily).
As we know there are different types of caching as it relates to
website, namely Client side caching and Server side caching
Except these two methods system and pages can be cached in the
database, drupal primarily cached information within its database.
Use anonymous user caching: Drupal 8 enables caching by default for
anonymous visitors. That is sufficient for small to medium sized
websites with moderate traffic. You can select the maximum age for
your page caching based on how quickly your website content
changes.
Use external caching techniques: For better result you can use APC,
Varnish, Memcache, and Caching Beyond Drupal Core. Each plays its
own specific role, and requires its own configuration settings to be
reviewed by the site administrator but make sure it is properly
configured.
● Disable unnecessary module
● Update contributed and core modules
● Use devel module for query analysis
● Use XHprof module for php profiling : XHProf is a utility for
profiling PHP. It reports function-level call counts and it’s
execution time.
Specific tools and modules
● Use fast_404 module: HTTP 404 Not Found Errors are
expensive. They cause performance and usability
problems. The Fast 404 Module lets Drupal sites deal with
these bad page requests quickly and efficiently, reducing
the chance that 404s will cause slowdowns or crashes.
● Aggregate/compress css and js file.
● Optimize image.
● Use CDN(content delivery network): If your site has large
amounts of content to display, consider using a content
delivery network (CDN). Most CDNs are used to host static
resources such as images, videos, audio clips, CSS files and
JavaScript. The closer a CDN server is to a site visitor, the
faster the content will be delivered to the visitor’s computer or
mobile device. CDNs help improve global availability and
reduce bandwidth. It stores a cached version of its content in
multiple geographical locations.
Ex: AWS Cloudfront, Akamai
● Use lazyload module for images on websites.
● Remove multiple redirection and of a page.
● Use css sprite for small images combine into one or serve
it from glyphicon
● Use gzip compression: GZIP provides a lossless
compression, that is, we can recover the original data
when decompressing it. It is based on the DEFLATE
algorithm.
● Logging: disable database logging and set slow query log and
set long query time.
● For any new custom database table apply indexing for
search the data.
● Do not use count(*) in count query instead use count(any
field)
Few database related points that we
can't ignore
Choose a host that can offer greater
speed
If, after implementing some of the tips above, you are still not
meeting your performance goals, you should consider choosing a
faster host. When you look for hosting, you’ll find many options.
Managed Dedicated Server(s): A managed dedicated server takes
care of all your hosting needs for you. Not only do you get the
hardware but you get a team of experts to make sure everything is
running as it should. They will keep your software up-to-date and
alert you if there are any problems. You can deploy multiple servers
in many configurations
Dedicated Server(s): A dedicated server provides low latency which
means a fast response time for most small to medium-sized sites.
Cloud Hosting: Cloud hosting is scalable. The “cloud” means that
there is a data center with lots of dormant servers. As your site’s
needs scale up (or down) the servers in the data center respond
with more server power.
Examples: Acquia Cloud, Pantheon, and Platform.sh.
How can we test web performance
There are many free desktop tools and as well as online sites
available. you can use to test and improve your site performance
accordingly. Here are just a few that you can try:
Desktoptools: ApacheBench (ab), Apache jmeter, The Grinder
For more you can visit EasyQA, a test management tool.
Online sites: Pingdom, GTMetrix, YSlow,PageSpeed Insights ,Web
Page Analyzer,Load Impact etc.
THANKS!
QUESTIONS?

More Related Content

What's hot

High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance Drupal
Chapter Three
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
Arun Janarthanan
 
Ui perf
Ui perfUi perf
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Trivandrum
 
Php & web server performace
Php & web server performacePhp & web server performace
Php & web server performace
Tuyển Đoàn
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
drupalcampest
 
Tips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 WebsitesTips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 Websites
InternetDevels
 
Drupal caching
Drupal cachingDrupal caching
Drupal caching
Exove
 
Caching with Ruby
Caching with RubyCaching with Ruby
Caching with Ruby
Luong Vo
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
Zero Point Development
 
Effectively Scale and Operate AEM with MongoDB by Norberto Leite
Effectively Scale and Operate AEM with MongoDB by Norberto LeiteEffectively Scale and Operate AEM with MongoDB by Norberto Leite
Effectively Scale and Operate AEM with MongoDB by Norberto Leite
AEM HUB
 
Drupal Performance Audit and Optimization
Drupal Performance Audit and OptimizationDrupal Performance Audit and Optimization
Drupal Performance Audit and Optimization
Zyxware Technologies
 
Speed kills
Speed killsSpeed kills
Speed kills
Josh Ward
 
Building a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsBuilding a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web apps
ngonpham
 
Caching 101
Caching 101Caching 101
Caching 101
Andy Melichar
 
Caching Strategies for Scaling Drupal: Common Missteps vs Best Practices
Caching Strategies for Scaling Drupal: Common Missteps vs Best PracticesCaching Strategies for Scaling Drupal: Common Missteps vs Best Practices
Caching Strategies for Scaling Drupal: Common Missteps vs Best Practices
Acquia
 
Optimize drupal
Optimize drupalOptimize drupal
Optimize drupal
Le Thanh Sang
 
Asp.Net 2.0 Presentation
Asp.Net 2.0 PresentationAsp.Net 2.0 Presentation
Asp.Net 2.0 Presentation
sasidhar
 
Setting in place a product development strategy
Setting in place a product development strategySetting in place a product development strategy
Setting in place a product development strategy
Zyxware Technologies
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
Michal Špaček
 

What's hot (20)

High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance Drupal
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
 
Ui perf
Ui perfUi perf
Ui perf
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
 
Php & web server performace
Php & web server performacePhp & web server performace
Php & web server performace
 
Drupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance SitesDrupalcamp Estonia - High Performance Sites
Drupalcamp Estonia - High Performance Sites
 
Tips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 WebsitesTips To Increase The Speed Of Drupal 8 Websites
Tips To Increase The Speed Of Drupal 8 Websites
 
Drupal caching
Drupal cachingDrupal caching
Drupal caching
 
Caching with Ruby
Caching with RubyCaching with Ruby
Caching with Ruby
 
23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress23 Ways To Speed Up WordPress
23 Ways To Speed Up WordPress
 
Effectively Scale and Operate AEM with MongoDB by Norberto Leite
Effectively Scale and Operate AEM with MongoDB by Norberto LeiteEffectively Scale and Operate AEM with MongoDB by Norberto Leite
Effectively Scale and Operate AEM with MongoDB by Norberto Leite
 
Drupal Performance Audit and Optimization
Drupal Performance Audit and OptimizationDrupal Performance Audit and Optimization
Drupal Performance Audit and Optimization
 
Speed kills
Speed killsSpeed kills
Speed kills
 
Building a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web appsBuilding a scalable infrastructure for social mobile web apps
Building a scalable infrastructure for social mobile web apps
 
Caching 101
Caching 101Caching 101
Caching 101
 
Caching Strategies for Scaling Drupal: Common Missteps vs Best Practices
Caching Strategies for Scaling Drupal: Common Missteps vs Best PracticesCaching Strategies for Scaling Drupal: Common Missteps vs Best Practices
Caching Strategies for Scaling Drupal: Common Missteps vs Best Practices
 
Optimize drupal
Optimize drupalOptimize drupal
Optimize drupal
 
Asp.Net 2.0 Presentation
Asp.Net 2.0 PresentationAsp.Net 2.0 Presentation
Asp.Net 2.0 Presentation
 
Setting in place a product development strategy
Setting in place a product development strategySetting in place a product development strategy
Setting in place a product development strategy
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
 

Similar to Performance Optimization in Drupal 8

Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
Andy Kucharski
 
Tips to improve your website performance
Tips to improve your website performanceTips to improve your website performance
Tips to improve your website performance
WebGuru Infosystems Pvt. Ltd.
 
Optimizing Website Performance Tips for Faster Load Times in 2024
Optimizing Website Performance Tips for Faster Load Times in 2024Optimizing Website Performance Tips for Faster Load Times in 2024
Optimizing Website Performance Tips for Faster Load Times in 2024
ConceptInfoway2
 
How to Speed up your Website?
How to Speed up your Website?How to Speed up your Website?
How to Speed up your Website?
HTS Hosting
 
How Can You Make Your Website Faster?
How Can You Make Your Website Faster?How Can You Make Your Website Faster?
How Can You Make Your Website Faster?
HTS Hosting
 
Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
Promet Source
 
How to Speed up your Website
How to Speed up your WebsiteHow to Speed up your Website
How to Speed up your Website
HTS Hosting
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and Scaling
Gerald Villorente
 
Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022
Mubarok wei
 
WordPress optimization
WordPress optimizationWordPress optimization
WordPress optimization
siddhant mandal
 
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdfGuide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
persuebusiness
 
Drupal Performance : DrupalCamp North
Drupal Performance : DrupalCamp NorthDrupal Performance : DrupalCamp North
Drupal Performance : DrupalCamp North
Philip Norton
 
How To Make Your Wordpress Website Load Faster - 20 Tips
How To Make Your Wordpress Website Load Faster - 20 TipsHow To Make Your Wordpress Website Load Faster - 20 Tips
How To Make Your Wordpress Website Load Faster - 20 Tips
Workurious
 
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
Jessica Ervin
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
Nile Flores
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvements
Alyss Noland
 
Office Interior Design Websites..........
Office Interior Design Websites..........Office Interior Design Websites..........
Office Interior Design Websites..........
siriajadhav16
 
Office Interior Design Websites
Office Interior Design WebsitesOffice Interior Design Websites
Office Interior Design Websites
sirriajadhav001
 
OFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITESOFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITES
sirriajadhav001
 
Office Interior Design Websites............
Office Interior Design Websites............Office Interior Design Websites............
Office Interior Design Websites............
sirrijadhav
 

Similar to Performance Optimization in Drupal 8 (20)

Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
 
Tips to improve your website performance
Tips to improve your website performanceTips to improve your website performance
Tips to improve your website performance
 
Optimizing Website Performance Tips for Faster Load Times in 2024
Optimizing Website Performance Tips for Faster Load Times in 2024Optimizing Website Performance Tips for Faster Load Times in 2024
Optimizing Website Performance Tips for Faster Load Times in 2024
 
How to Speed up your Website?
How to Speed up your Website?How to Speed up your Website?
How to Speed up your Website?
 
How Can You Make Your Website Faster?
How Can You Make Your Website Faster?How Can You Make Your Website Faster?
How Can You Make Your Website Faster?
 
Make Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speedMake Drupal Run Fast - increase page load speed
Make Drupal Run Fast - increase page load speed
 
How to Speed up your Website
How to Speed up your WebsiteHow to Speed up your Website
How to Speed up your Website
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and Scaling
 
Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022Csaba Kissi - SEO Tactics 2022
Csaba Kissi - SEO Tactics 2022
 
WordPress optimization
WordPress optimizationWordPress optimization
WordPress optimization
 
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdfGuide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
Guide 4 - How To Dramatically Speed Up Your Website Using A Caching Plugin.pdf
 
Drupal Performance : DrupalCamp North
Drupal Performance : DrupalCamp NorthDrupal Performance : DrupalCamp North
Drupal Performance : DrupalCamp North
 
How To Make Your Wordpress Website Load Faster - 20 Tips
How To Make Your Wordpress Website Load Faster - 20 TipsHow To Make Your Wordpress Website Load Faster - 20 Tips
How To Make Your Wordpress Website Load Faster - 20 Tips
 
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance WPblog's Ultimate WordPress Guide to Boost Your Website Performance
WPblog's Ultimate WordPress Guide to Boost Your Website Performance
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
 
Boosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvementsBoosting your conversion rate through web performance improvements
Boosting your conversion rate through web performance improvements
 
Office Interior Design Websites..........
Office Interior Design Websites..........Office Interior Design Websites..........
Office Interior Design Websites..........
 
Office Interior Design Websites
Office Interior Design WebsitesOffice Interior Design Websites
Office Interior Design Websites
 
OFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITESOFFICE INTERIOR DESIGN WEBSITES
OFFICE INTERIOR DESIGN WEBSITES
 
Office Interior Design Websites............
Office Interior Design Websites............Office Interior Design Websites............
Office Interior Design Websites............
 

More from valuebound

Scaling Drupal for High Traffic Websites
Scaling Drupal for High Traffic WebsitesScaling Drupal for High Traffic Websites
Scaling Drupal for High Traffic Websites
valuebound
 
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdfDrupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
valuebound
 
How to Use DDEV to Streamline Your Drupal Development Process.
How to Use DDEV to Streamline Your Drupal Development Process.How to Use DDEV to Streamline Your Drupal Development Process.
How to Use DDEV to Streamline Your Drupal Development Process.
valuebound
 
How to Use AWS to Automate Your IT Operation| Valuebound
How to Use AWS to Automate Your IT Operation| Valuebound How to Use AWS to Automate Your IT Operation| Valuebound
How to Use AWS to Automate Your IT Operation| Valuebound
valuebound
 
How to Use Firebase to Send Push Notifications to React Native and Node.js Apps
How to Use Firebase to Send Push Notifications to React Native and Node.js AppsHow to Use Firebase to Send Push Notifications to React Native and Node.js Apps
How to Use Firebase to Send Push Notifications to React Native and Node.js Apps
valuebound
 
Mastering Drupal Theming
Mastering Drupal ThemingMastering Drupal Theming
Mastering Drupal Theming
valuebound
 
The Benefits of Cloud Engineering
The Benefits of Cloud EngineeringThe Benefits of Cloud Engineering
The Benefits of Cloud Engineering
valuebound
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
valuebound
 
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
valuebound
 
Deep dive into ChatGPT
Deep dive into ChatGPTDeep dive into ChatGPT
Deep dive into ChatGPT
valuebound
 
Content Creation Solution | Valuebound
Content Creation Solution | ValueboundContent Creation Solution | Valuebound
Content Creation Solution | Valuebound
valuebound
 
Road ahead for Drupal 8 contributed projects
Road ahead for Drupal 8 contributed projectsRoad ahead for Drupal 8 contributed projects
Road ahead for Drupal 8 contributed projects
valuebound
 
Chatbot with RASA | Valuebound
Chatbot with RASA | ValueboundChatbot with RASA | Valuebound
Chatbot with RASA | Valuebound
valuebound
 
Drupal and Artificial Intelligence for Personalization
Drupal and Artificial Intelligence for Personalization Drupal and Artificial Intelligence for Personalization
Drupal and Artificial Intelligence for Personalization
valuebound
 
Drupal growth in last year | Valuebound
Drupal growth in last year | ValueboundDrupal growth in last year | Valuebound
Drupal growth in last year | Valuebound
valuebound
 
BE NEW TO THE WORLD "BRAVE FROM CHROME"
BE NEW TO THE WORLD "BRAVE FROM CHROME"BE NEW TO THE WORLD "BRAVE FROM CHROME"
BE NEW TO THE WORLD "BRAVE FROM CHROME"
valuebound
 
Event loop in browser
Event loop in browserEvent loop in browser
Event loop in browser
valuebound
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
valuebound
 
React JS: A Secret Preview
React JS: A Secret PreviewReact JS: A Secret Preview
React JS: A Secret Preview
valuebound
 
Dependency Injection in Drupal 8
Dependency Injection in Drupal 8Dependency Injection in Drupal 8
Dependency Injection in Drupal 8
valuebound
 

More from valuebound (20)

Scaling Drupal for High Traffic Websites
Scaling Drupal for High Traffic WebsitesScaling Drupal for High Traffic Websites
Scaling Drupal for High Traffic Websites
 
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdfDrupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
Drupal 7 to Drupal 10 Migration A Fintech Strategic Blueprint (1).pdf
 
How to Use DDEV to Streamline Your Drupal Development Process.
How to Use DDEV to Streamline Your Drupal Development Process.How to Use DDEV to Streamline Your Drupal Development Process.
How to Use DDEV to Streamline Your Drupal Development Process.
 
How to Use AWS to Automate Your IT Operation| Valuebound
How to Use AWS to Automate Your IT Operation| Valuebound How to Use AWS to Automate Your IT Operation| Valuebound
How to Use AWS to Automate Your IT Operation| Valuebound
 
How to Use Firebase to Send Push Notifications to React Native and Node.js Apps
How to Use Firebase to Send Push Notifications to React Native and Node.js AppsHow to Use Firebase to Send Push Notifications to React Native and Node.js Apps
How to Use Firebase to Send Push Notifications to React Native and Node.js Apps
 
Mastering Drupal Theming
Mastering Drupal ThemingMastering Drupal Theming
Mastering Drupal Theming
 
The Benefits of Cloud Engineering
The Benefits of Cloud EngineeringThe Benefits of Cloud Engineering
The Benefits of Cloud Engineering
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
The Future of Cloud Engineering: Emerging Trends and Technologies to Watch in...
 
Deep dive into ChatGPT
Deep dive into ChatGPTDeep dive into ChatGPT
Deep dive into ChatGPT
 
Content Creation Solution | Valuebound
Content Creation Solution | ValueboundContent Creation Solution | Valuebound
Content Creation Solution | Valuebound
 
Road ahead for Drupal 8 contributed projects
Road ahead for Drupal 8 contributed projectsRoad ahead for Drupal 8 contributed projects
Road ahead for Drupal 8 contributed projects
 
Chatbot with RASA | Valuebound
Chatbot with RASA | ValueboundChatbot with RASA | Valuebound
Chatbot with RASA | Valuebound
 
Drupal and Artificial Intelligence for Personalization
Drupal and Artificial Intelligence for Personalization Drupal and Artificial Intelligence for Personalization
Drupal and Artificial Intelligence for Personalization
 
Drupal growth in last year | Valuebound
Drupal growth in last year | ValueboundDrupal growth in last year | Valuebound
Drupal growth in last year | Valuebound
 
BE NEW TO THE WORLD "BRAVE FROM CHROME"
BE NEW TO THE WORLD "BRAVE FROM CHROME"BE NEW TO THE WORLD "BRAVE FROM CHROME"
BE NEW TO THE WORLD "BRAVE FROM CHROME"
 
Event loop in browser
Event loop in browserEvent loop in browser
Event loop in browser
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
 
React JS: A Secret Preview
React JS: A Secret PreviewReact JS: A Secret Preview
React JS: A Secret Preview
 
Dependency Injection in Drupal 8
Dependency Injection in Drupal 8Dependency Injection in Drupal 8
Dependency Injection in Drupal 8
 

Recently uploaded

WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024
The Digital Insurer
 
Interaction Latency: Square's User-Centric Mobile Performance Metric
Interaction Latency: Square's User-Centric Mobile Performance MetricInteraction Latency: Square's User-Centric Mobile Performance Metric
Interaction Latency: Square's User-Centric Mobile Performance Metric
ScyllaDB
 
STKI Israeli Market Study 2024 final v1
STKI Israeli Market Study 2024 final  v1STKI Israeli Market Study 2024 final  v1
STKI Israeli Market Study 2024 final v1
Dr. Jimmy Schwarzkopf
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
Hire a private investigator to get cell phone records
Hire a private investigator to get cell phone recordsHire a private investigator to get cell phone records
Hire a private investigator to get cell phone records
HackersList
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
ScyllaDB
 
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum ThreatsNavigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
anupriti
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Earley Information Science
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
SATYENDRA100
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
SeasiaInfotech2
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
The Digital Insurer
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 

Recently uploaded (20)

WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024
 
Interaction Latency: Square's User-Centric Mobile Performance Metric
Interaction Latency: Square's User-Centric Mobile Performance MetricInteraction Latency: Square's User-Centric Mobile Performance Metric
Interaction Latency: Square's User-Centric Mobile Performance Metric
 
STKI Israeli Market Study 2024 final v1
STKI Israeli Market Study 2024 final  v1STKI Israeli Market Study 2024 final  v1
STKI Israeli Market Study 2024 final v1
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
Hire a private investigator to get cell phone records
Hire a private investigator to get cell phone recordsHire a private investigator to get cell phone records
Hire a private investigator to get cell phone records
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
 
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum ThreatsNavigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
Navigating Post-Quantum Blockchain: Resilient Cryptography in Quantum Threats
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 

Performance Optimization in Drupal 8

  • 2. ● What is Web performance. ● What is performance optimization. ● Why Website Loading Speed Matters. ● How to boost site performance. ● How can we test website speed. Agenda
  • 3. What is web performance Web performance refers to the speed in which web pages are downloaded and displayed on the user's web browser. Web performance optimization, or website optimization is the field of knowledge about increasing web performance. Website performance is a hugely important topic,so big companies of the Web are obsessed with it. For the Googles, Yahoos, Amazons and eBays.
  • 4. What is performance optimization When we modify a website specifically to increase the loading speed, this is what’s called performance optimization. Web pages and websites are getting bigger and becoming more complex every day. But when a website does not load quickly, it affects visitor’s behavior, which leads to decreases site revenue.
  • 5. Why Website Loading Speed Matters ● User Satisfaction: It simply means, If your site loading time is high, it directly affects the satisfaction or the dissatisfaction levels of your visitors. They generally expect a fast and reliable online user experience and if the website is unable to deliver on their expectation, they will abandon it. ● Improved Search Rankings: Google’s algorithm uses a multiple factors to determine how to rank search engine results and loading time is one of the important factor of them.
  • 6. Why Website Loading Speed Matters… Cont. ● Mobile Users: In today’s era most of the people use mobile for web surfing rather than using desktop or laptop so loading time for mobile users is an important factor. Main reason for that, they are used to have slower internet speed.
  • 7. How important is web performance in Drupal 8 sites Drupal 8 is a powerful and versatile content management system then Drupal 7. However, that power can come with drawbacks, including the speed of your site. Whenever you load a Drupal page, there is a lot going on behind the scenes, involving your database, PHP, CSS, Javascript and more.
  • 8. How to boost performance In Drupal, there are specific tools and modules are available to optimize the site speed just you need to know them and use. Caching is a very popular technique for optimization that significantly affect the performance.
  • 9. Cache roles in web performance Caching is a significant part of site performance improvement. It is broad term refers to the process that store data in some accessible space so that can be retrieved easily (a platform where we can store the data and fetch and display it easily). As we know there are different types of caching as it relates to website, namely Client side caching and Server side caching Except these two methods system and pages can be cached in the database, drupal primarily cached information within its database.
  • 10. Use anonymous user caching: Drupal 8 enables caching by default for anonymous visitors. That is sufficient for small to medium sized websites with moderate traffic. You can select the maximum age for your page caching based on how quickly your website content changes. Use external caching techniques: For better result you can use APC, Varnish, Memcache, and Caching Beyond Drupal Core. Each plays its own specific role, and requires its own configuration settings to be reviewed by the site administrator but make sure it is properly configured.
  • 11. ● Disable unnecessary module ● Update contributed and core modules ● Use devel module for query analysis ● Use XHprof module for php profiling : XHProf is a utility for profiling PHP. It reports function-level call counts and it’s execution time. Specific tools and modules
  • 12. ● Use fast_404 module: HTTP 404 Not Found Errors are expensive. They cause performance and usability problems. The Fast 404 Module lets Drupal sites deal with these bad page requests quickly and efficiently, reducing the chance that 404s will cause slowdowns or crashes. ● Aggregate/compress css and js file. ● Optimize image.
  • 13. ● Use CDN(content delivery network): If your site has large amounts of content to display, consider using a content delivery network (CDN). Most CDNs are used to host static resources such as images, videos, audio clips, CSS files and JavaScript. The closer a CDN server is to a site visitor, the faster the content will be delivered to the visitor’s computer or mobile device. CDNs help improve global availability and reduce bandwidth. It stores a cached version of its content in multiple geographical locations. Ex: AWS Cloudfront, Akamai ● Use lazyload module for images on websites.
  • 14. ● Remove multiple redirection and of a page. ● Use css sprite for small images combine into one or serve it from glyphicon ● Use gzip compression: GZIP provides a lossless compression, that is, we can recover the original data when decompressing it. It is based on the DEFLATE algorithm.
  • 15. ● Logging: disable database logging and set slow query log and set long query time. ● For any new custom database table apply indexing for search the data. ● Do not use count(*) in count query instead use count(any field) Few database related points that we can't ignore
  • 16. Choose a host that can offer greater speed If, after implementing some of the tips above, you are still not meeting your performance goals, you should consider choosing a faster host. When you look for hosting, you’ll find many options. Managed Dedicated Server(s): A managed dedicated server takes care of all your hosting needs for you. Not only do you get the hardware but you get a team of experts to make sure everything is running as it should. They will keep your software up-to-date and alert you if there are any problems. You can deploy multiple servers in many configurations
  • 17. Dedicated Server(s): A dedicated server provides low latency which means a fast response time for most small to medium-sized sites. Cloud Hosting: Cloud hosting is scalable. The “cloud” means that there is a data center with lots of dormant servers. As your site’s needs scale up (or down) the servers in the data center respond with more server power. Examples: Acquia Cloud, Pantheon, and Platform.sh.
  • 18. How can we test web performance There are many free desktop tools and as well as online sites available. you can use to test and improve your site performance accordingly. Here are just a few that you can try: Desktoptools: ApacheBench (ab), Apache jmeter, The Grinder For more you can visit EasyQA, a test management tool. Online sites: Pingdom, GTMetrix, YSlow,PageSpeed Insights ,Web Page Analyzer,Load Impact etc.