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?
Ad

More Related Content

What's hot (20)

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
Ui perf
Franz Allan See
 
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
 
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
 
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
 
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
 
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 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
 
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
 

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
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
Concept Infoway Pvt. Ltd
 
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
 
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
 
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
 
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
 
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptxTop 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
OnGraph Technologies
 
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
 
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
 
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
Concept Infoway Pvt. Ltd
 
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
 
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
 
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
 
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
 
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptxTop 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
Top 10 Flutter Web Tips for Optimizing Performance in Flutter Web Apps.pptx
OnGraph Technologies
 
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
 
Ad

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
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
 
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
 
Ad

Recently uploaded (20)

Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
AI and Gender: Decoding the Sociological Impact
AI and Gender: Decoding the Sociological ImpactAI and Gender: Decoding the Sociological Impact
AI and Gender: Decoding the Sociological Impact
SaikatBasu37
 
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptxIn-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
aptyai
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
SOFTTECHHUB
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Building Connected Agents:  An Overview of Google's ADK and A2A ProtocolBuilding Connected Agents:  An Overview of Google's ADK and A2A Protocol
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Suresh Peiris
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More MachinesRefactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Leon Anavi
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdfComputer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
fizarcse
 
How Top Companies Benefit from Outsourcing
How Top Companies Benefit from OutsourcingHow Top Companies Benefit from Outsourcing
How Top Companies Benefit from Outsourcing
Nascenture
 
Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Middle East and Africa Cybersecurity Market Trends and Growth Analysis Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Preeti Jha
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Secondary Storage for a microcontroller system
Secondary Storage for a microcontroller systemSecondary Storage for a microcontroller system
Secondary Storage for a microcontroller system
fizarcse
 
Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025Top 5 Qualities to Look for in Salesforce Partners in 2025
Top 5 Qualities to Look for in Salesforce Partners in 2025
Damco Salesforce Services
 
AI and Gender: Decoding the Sociological Impact
AI and Gender: Decoding the Sociological ImpactAI and Gender: Decoding the Sociological Impact
AI and Gender: Decoding the Sociological Impact
SaikatBasu37
 
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptxIn-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
In-App Guidance_ Save Enterprises Millions in Training & IT Costs.pptx
aptyai
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
 
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
OpenAI Just Announced Codex: A cloud engineering agent that excels in handlin...
SOFTTECHHUB
 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
React Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for SuccessReact Native for Business Solutions: Building Scalable Apps for Success
React Native for Business Solutions: Building Scalable Apps for Success
Amelia Swank
 
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Building Connected Agents:  An Overview of Google's ADK and A2A ProtocolBuilding Connected Agents:  An Overview of Google's ADK and A2A Protocol
Building Connected Agents: An Overview of Google's ADK and A2A Protocol
Suresh Peiris
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More MachinesRefactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Refactoring meta-rauc-community: Cleaner Code, Better Maintenance, More Machines
Leon Anavi
 
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdfICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
ICDCC 2025: Securing Agentic AI - Eryk Budi Pratama.pdf
Eryk Budi Pratama
 
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdfComputer Systems Quiz Presentation in Purple Bold Style (4).pdf
Computer Systems Quiz Presentation in Purple Bold Style (4).pdf
fizarcse
 
How Top Companies Benefit from Outsourcing
How Top Companies Benefit from OutsourcingHow Top Companies Benefit from Outsourcing
How Top Companies Benefit from Outsourcing
Nascenture
 
Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Middle East and Africa Cybersecurity Market Trends and Growth Analysis Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Middle East and Africa Cybersecurity Market Trends and Growth Analysis
Preeti Jha
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
Secondary Storage for a microcontroller system
Secondary Storage for a microcontroller systemSecondary Storage for a microcontroller system
Secondary Storage for a microcontroller system
fizarcse
 

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.