SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
6 Tips to improve WooCommerce
Performance
SENIOR PRODUCT MANAGER
WP Engine
Jeremy Benoit
ENGINEERING MANAGER
WP Engine
Catherine Kelly
According to Google, 53% of users will leave a site
if a page load speed takes longer than three
seconds. That means you’ve got exactly three
seconds to get them all the data on that product
page—all the images you’ve sent them, all the
information about it, all the little widgets, and ads.
- WP Engine Senior Software Engineer Chris Weigman
“
4
• Page speed is the time of a single page to load
• Page speed impacts conversions
• Page speed impacts SEO
• Superb hosting is critical for a quality shopper
experience
The Speed of a
Shopper Experience
5
1.
WooCommerce
& Cache
2.
Media
Optimization
3.
Search
Optimization
4.
Ajax Cart
Fragments
5.
Custom Orders
Table
6.
The Speed of
Headless
WooCommerce & Cache
7
Different types of
WooCommerce Caching,
some recommended
settings and enhancements
WP Engine will be
introducing as defaults
Understand & Configure
Cache for WooCommerce
WooCommerce
Caching
8
Caching is the process of
storing data in a “cache”. A
cache is a temporary
storage area.
Caching’s original intent was to enable computers not to use resources to
compute the same thing over and over again
• Different Types of Cache optimisation
▪ Server Cache
▪ Application Cache
▪ Browser Cache
▪ Proxy CDN Cache
What is
Caching?
Caching: Tell me more!
9
WP Engine is working on a
number of configurations to
implement effective caching
utilisation.
WP Engine Recommends
Caching a few
tips
Caching: Tell me more!
• Browser cache time to a high value for all your static assets
• cache any GET request but don’t cache:
▪ Logged-in pages (/my-account/, etc)
▪ Carts
▪ Checkouts
▪ Wishlists
• Deliver from but not write to cache when something is in cart
▪ Server Caching
• Server caching enables it to remember parts of the web
• Browser Caching
Media Optimization
11
Images & Video require
different types of
optimization in order to give
Customers an optimum
experience!
What is media Optimization?
Media
Optimization
12
Using the best tools, advanced
strategies, and experiments to deliver
effective media content
▪ Lazy Load for Images and Videos
▪ Remember your Mobile Users
▪ Compressed Images Save up to 40% image bandwidth
▪ File Format selection is key e.g:
- 600px X 600px Image is
JPG - 100KB / PNG - 216KB / WebP - 56KB
▪ Use CDN for Global Delivery
What is Media
Optimization?
13
One key trend for
eCommerce is live video
demonstrations
▪ Remember your Mobile Users
▪ Use data compression tools
▪ Convert to HTML5 supported formats
▪ Remove audio from muted videos
▪ Use a content delivery network
▪ Specify the video size
▪ Defer loading videos until page load is complete
Why Video
Optimization?
Search Optimization
15
Search offloading can
increase search
effectiveness and increase
sales!
Why/How can you optimize
search?
Search
Optimization
16
What is WooCom Search?
▪ WooCommerce Inbuilt search is “poor”
- Underperforms with no matches In:
Product Attributes/reviews/descriptions
▪ No dedicate search support
▪ WooCommerce Product search not working “common”
issue
WooCommerce
Search
17
Thanks to our partnership
with Elastic Press we’re able
to offer a premium search
offering
Search Offloading is a process by which if performed by a third
party
● Fast and flexible search and query engine
○ WooCommerce integration
○ Facet widgets for filtering
○ Autosuggest
○ Weighting
○ Custom Results
○ Instant Autosuggest
○ Search Analytics
● AutoInstalled with no additional configuration required
○ True plug & play implementation
What is
WP Engine
Doing?
Search Offloading
Ajax Cart Fragments
19
The AJAX Cart Fragments
WANTED
the “/?wc-ajax=get_refreshed_fragments” URL
▪ Generating delays
▪ Causing Server Spikes
▪ Running unnecessarily
WANTED
“/?wc-ajax=get_refreshed_fragments”
Responsible for updating the cart items & cart
total.
Also responsible for lagging page load times
often
20
Cart Fragments AJAX script runs on EVERY page:
▪ Home page
▪ Product page
▪ About page
▪ *Any* page
Purpose
Updating the cart without forcing a page reload
Where you have an add to cart action and a dynamic cart.
▪ Redirect to cart page on add to cart
Ideally
Cart Fragments AJAX should only run
Can it really be that bad?
Two ways to disable AJAX Cart Fragments
• Add a plugin with a cart fragmentation
disabling feature
• Disable cart fragmentation through editing the
functions.php file of your theme
Risks
• Some cart widgets may experience problems
• Test your cart widgets after disabling AJAX Cart
Fragments
21
Disable AJAX Cart Fragments
Custom Orders Table
● Conflation of multiple entities
● Calls for products, plug-in data, and other
entities
23
The WooCommerce Table
Structure Dilemma
• Custom Order tables adds the structural
integrity of a true eCommerce engine
• Better support especially for
▪ High traffic stores
▪ Stores with larger product catalogs
24
Improved the Speed of Orders
• Core, Plugins, Meta
• Dedicated indexes & less busy tables
25
Three Types of Tables
The Speed of Headless
• A Headless stack increases speed by another
order of magnitude
▪ Our Headless infrastructure can execute
pages up to 10X faster than traditional
WordPress
▪ Live customer seeing 6x increase across
all Lighthouse metrics
• Customized backend integrations creates
opportunities for lightning fast optimizations
27
Go Headless
Thank you.
Jeremy Benoit
WP Engine
Catherine Kelly
WP Engine
6 WooCommerce Dev Tricks for Building Fast eCommerce Websites.pdf

Contenu connexe

Similaire à 6 WooCommerce Dev Tricks for Building Fast eCommerce Websites.pdf

Similaire à 6 WooCommerce Dev Tricks for Building Fast eCommerce Websites.pdf (20)

Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
Imagine 2014: The Devil is in the Details How to Optimize Magento Hosting to ...
 
Openxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento OptimizationOpenxcell conducts a successful webinar on Magento Optimization
Openxcell conducts a successful webinar on Magento Optimization
 
Squeeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla WebsiteSqueeze Maximum Performance From Your Joomla Website
Squeeze Maximum Performance From Your Joomla Website
 
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...12   GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
12 GoMeasure (sg and kl) - page speed light speed path to conversions - joh...
 
Ctrl+F5 Bangalore 2017: Super charge you word press website by Justin Thomas
Ctrl+F5 Bangalore 2017: Super charge you word press website by Justin ThomasCtrl+F5 Bangalore 2017: Super charge you word press website by Justin Thomas
Ctrl+F5 Bangalore 2017: Super charge you word press website by Justin Thomas
 
Caching 101
Caching 101Caching 101
Caching 101
 
Is your website's speed letting you down?
Is your website's speed letting you down?Is your website's speed letting you down?
Is your website's speed letting you down?
 
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...The 5 most common reasons for a slow WordPress site and how to fix them – ext...
The 5 most common reasons for a slow WordPress site and how to fix them – ext...
 
Drupal 7 performance and optimization
Drupal 7 performance and optimizationDrupal 7 performance and optimization
Drupal 7 performance and optimization
 
OpenXcell - Magento Optimization Webinar 2013
OpenXcell - Magento Optimization Webinar 2013OpenXcell - Magento Optimization Webinar 2013
OpenXcell - Magento Optimization Webinar 2013
 
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
 
Demystifying Website Performance and Its Impact on Revenue
Demystifying Website Performance and Its Impact on RevenueDemystifying Website Performance and Its Impact on Revenue
Demystifying Website Performance and Its Impact on Revenue
 
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan TaylorOptimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
Optimization 2020 | Using Edge SEO For Technical Issues ft. Dan Taylor
 
Web performance
Web performanceWeb performance
Web performance
 
10 things you can do to speed up your web app today stir trek edition
10 things you can do to speed up your web app today   stir trek edition10 things you can do to speed up your web app today   stir trek edition
10 things you can do to speed up your web app today stir trek edition
 
10 Tips for Optimising WordPress
10 Tips for Optimising WordPress10 Tips for Optimising WordPress
10 Tips for Optimising WordPress
 
Boston Web Performance Meetup: The Render Chain and You
Boston Web Performance Meetup: The Render Chain and YouBoston Web Performance Meetup: The Render Chain and You
Boston Web Performance Meetup: The Render Chain and You
 
Drupal Effect on High Performance Websites
Drupal Effect on High Performance Websites Drupal Effect on High Performance Websites
Drupal Effect on High Performance Websites
 
Optimizing WordPress eCommerce for Performance & Growth - Chris Wiegman, Sara...
Optimizing WordPress eCommerce for Performance & Growth - Chris Wiegman, Sara...Optimizing WordPress eCommerce for Performance & Growth - Chris Wiegman, Sara...
Optimizing WordPress eCommerce for Performance & Growth - Chris Wiegman, Sara...
 
Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.Poslovni Imenik BiH - Lokal d.o.o.
Poslovni Imenik BiH - Lokal d.o.o.
 

Plus de WP Engine

Plus de WP Engine (20)

More Dev. Less Drama.pdf
More Dev. Less Drama.pdfMore Dev. Less Drama.pdf
More Dev. Less Drama.pdf
 
Why the Edge Isn't an Edge Case.pdf
Why the Edge Isn't an Edge Case.pdfWhy the Edge Isn't an Edge Case.pdf
Why the Edge Isn't an Edge Case.pdf
 
Post eCommerce Site Launch- Optimizing Your Conversion Rate.pdf
Post eCommerce Site Launch- Optimizing Your Conversion Rate.pdfPost eCommerce Site Launch- Optimizing Your Conversion Rate.pdf
Post eCommerce Site Launch- Optimizing Your Conversion Rate.pdf
 
Demo - New Features for Atlas.pdf
Demo - New Features for Atlas.pdfDemo - New Features for Atlas.pdf
Demo - New Features for Atlas.pdf
 
Debunking The Myths of Migration.pdf
Debunking The Myths of Migration.pdfDebunking The Myths of Migration.pdf
Debunking The Myths of Migration.pdf
 
Keeping Your WordPress Sites Safe Amidst A Rise in Global Cyberattacks.pdf
Keeping Your WordPress Sites Safe Amidst A Rise in Global Cyberattacks.pdfKeeping Your WordPress Sites Safe Amidst A Rise in Global Cyberattacks.pdf
Keeping Your WordPress Sites Safe Amidst A Rise in Global Cyberattacks.pdf
 
Building WordPress eCommerce at Scale .pdf
Building WordPress eCommerce at Scale .pdfBuilding WordPress eCommerce at Scale .pdf
Building WordPress eCommerce at Scale .pdf
 
When to Choose Headless for Clients.pdf
When to Choose Headless for Clients.pdfWhen to Choose Headless for Clients.pdf
When to Choose Headless for Clients.pdf
 
Best Practices for Site Deployment With Local.pdf
Best Practices for Site Deployment With Local.pdfBest Practices for Site Deployment With Local.pdf
Best Practices for Site Deployment With Local.pdf
 
Site Monitoring: The Intersection of Product, UX Design & Research .pdf
Site Monitoring: The Intersection of Product, UX Design & Research .pdfSite Monitoring: The Intersection of Product, UX Design & Research .pdf
Site Monitoring: The Intersection of Product, UX Design & Research .pdf
 
Front End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdfFront End: Building Future-Proof eCommerce Sites.pdf
Front End: Building Future-Proof eCommerce Sites.pdf
 
Gutenberg and Headless WordPress.pdf
Gutenberg and Headless WordPress.pdfGutenberg and Headless WordPress.pdf
Gutenberg and Headless WordPress.pdf
 
Blueprints and Other Local Features for Agencies.pdf
Blueprints and Other Local Features for Agencies.pdfBlueprints and Other Local Features for Agencies.pdf
Blueprints and Other Local Features for Agencies.pdf
 
Modern Theming & The Future of WordPress- Working with Full Site Editing and ...
Modern Theming & The Future of WordPress- Working with Full Site Editing and ...Modern Theming & The Future of WordPress- Working with Full Site Editing and ...
Modern Theming & The Future of WordPress- Working with Full Site Editing and ...
 
Headless 101 for WordPress Developers.pdf
Headless 101 for WordPress Developers.pdfHeadless 101 for WordPress Developers.pdf
Headless 101 for WordPress Developers.pdf
 
Be the Change: The Future of WordPress with WP Engine's Developer Relations Team
Be the Change: The Future of WordPress with WP Engine's Developer Relations TeamBe the Change: The Future of WordPress with WP Engine's Developer Relations Team
Be the Change: The Future of WordPress with WP Engine's Developer Relations Team
 
An Atlas of Atlas.pdf
An Atlas of Atlas.pdfAn Atlas of Atlas.pdf
An Atlas of Atlas.pdf
 
2022 – Year of the WordPress Developer.pdf
2022 – Year of the WordPress Developer.pdf2022 – Year of the WordPress Developer.pdf
2022 – Year of the WordPress Developer.pdf
 
Using WooCommerce to Scale Your Store
Using WooCommerce to Scale Your StoreUsing WooCommerce to Scale Your Store
Using WooCommerce to Scale Your Store
 
Growing Your WooCommerce Store Without Knowing Code
Growing Your WooCommerce Store Without Knowing CodeGrowing Your WooCommerce Store Without Knowing Code
Growing Your WooCommerce Store Without Knowing Code
 

Dernier

一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
F
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Monica Sydney
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
JOHNBEBONYAP1
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Monica Sydney
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
ydyuyu
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Monica Sydney
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
F
 

Dernier (20)

一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理一比一原版奥兹学院毕业证如何办理
一比一原版奥兹学院毕业证如何办理
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girlsRussian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
Russian Call girls in Abu Dhabi 0508644382 Abu Dhabi Call girls
 
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdfpdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
pdfcoffee.com_business-ethics-q3m7-pdf-free.pdf
 
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu DhabiAbu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
Abu Dhabi Escorts Service 0508644382 Escorts in Abu Dhabi
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
原版制作美国爱荷华大学毕业证(iowa毕业证书)学位证网上存档可查
 
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi EscortsIndian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
Indian Escort in Abu DHabi 0508644382 Abu Dhabi Escorts
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
 
Call girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girlsCall girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girls
 
一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理一比一原版田纳西大学毕业证如何办理
一比一原版田纳西大学毕业证如何办理
 

6 WooCommerce Dev Tricks for Building Fast eCommerce Websites.pdf

  • 1.
  • 2. 6 Tips to improve WooCommerce Performance SENIOR PRODUCT MANAGER WP Engine Jeremy Benoit ENGINEERING MANAGER WP Engine Catherine Kelly
  • 3. According to Google, 53% of users will leave a site if a page load speed takes longer than three seconds. That means you’ve got exactly three seconds to get them all the data on that product page—all the images you’ve sent them, all the information about it, all the little widgets, and ads. - WP Engine Senior Software Engineer Chris Weigman “
  • 4. 4 • Page speed is the time of a single page to load • Page speed impacts conversions • Page speed impacts SEO • Superb hosting is critical for a quality shopper experience The Speed of a Shopper Experience
  • 7. 7 Different types of WooCommerce Caching, some recommended settings and enhancements WP Engine will be introducing as defaults Understand & Configure Cache for WooCommerce WooCommerce Caching
  • 8. 8 Caching is the process of storing data in a “cache”. A cache is a temporary storage area. Caching’s original intent was to enable computers not to use resources to compute the same thing over and over again • Different Types of Cache optimisation ▪ Server Cache ▪ Application Cache ▪ Browser Cache ▪ Proxy CDN Cache What is Caching? Caching: Tell me more!
  • 9. 9 WP Engine is working on a number of configurations to implement effective caching utilisation. WP Engine Recommends Caching a few tips Caching: Tell me more! • Browser cache time to a high value for all your static assets • cache any GET request but don’t cache: ▪ Logged-in pages (/my-account/, etc) ▪ Carts ▪ Checkouts ▪ Wishlists • Deliver from but not write to cache when something is in cart ▪ Server Caching • Server caching enables it to remember parts of the web • Browser Caching
  • 11. 11 Images & Video require different types of optimization in order to give Customers an optimum experience! What is media Optimization? Media Optimization
  • 12. 12 Using the best tools, advanced strategies, and experiments to deliver effective media content ▪ Lazy Load for Images and Videos ▪ Remember your Mobile Users ▪ Compressed Images Save up to 40% image bandwidth ▪ File Format selection is key e.g: - 600px X 600px Image is JPG - 100KB / PNG - 216KB / WebP - 56KB ▪ Use CDN for Global Delivery What is Media Optimization?
  • 13. 13 One key trend for eCommerce is live video demonstrations ▪ Remember your Mobile Users ▪ Use data compression tools ▪ Convert to HTML5 supported formats ▪ Remove audio from muted videos ▪ Use a content delivery network ▪ Specify the video size ▪ Defer loading videos until page load is complete Why Video Optimization?
  • 15. 15 Search offloading can increase search effectiveness and increase sales! Why/How can you optimize search? Search Optimization
  • 16. 16 What is WooCom Search? ▪ WooCommerce Inbuilt search is “poor” - Underperforms with no matches In: Product Attributes/reviews/descriptions ▪ No dedicate search support ▪ WooCommerce Product search not working “common” issue WooCommerce Search
  • 17. 17 Thanks to our partnership with Elastic Press we’re able to offer a premium search offering Search Offloading is a process by which if performed by a third party ● Fast and flexible search and query engine ○ WooCommerce integration ○ Facet widgets for filtering ○ Autosuggest ○ Weighting ○ Custom Results ○ Instant Autosuggest ○ Search Analytics ● AutoInstalled with no additional configuration required ○ True plug & play implementation What is WP Engine Doing? Search Offloading
  • 19. 19 The AJAX Cart Fragments WANTED the “/?wc-ajax=get_refreshed_fragments” URL ▪ Generating delays ▪ Causing Server Spikes ▪ Running unnecessarily WANTED “/?wc-ajax=get_refreshed_fragments” Responsible for updating the cart items & cart total. Also responsible for lagging page load times often
  • 20. 20 Cart Fragments AJAX script runs on EVERY page: ▪ Home page ▪ Product page ▪ About page ▪ *Any* page Purpose Updating the cart without forcing a page reload Where you have an add to cart action and a dynamic cart. ▪ Redirect to cart page on add to cart Ideally Cart Fragments AJAX should only run Can it really be that bad?
  • 21. Two ways to disable AJAX Cart Fragments • Add a plugin with a cart fragmentation disabling feature • Disable cart fragmentation through editing the functions.php file of your theme Risks • Some cart widgets may experience problems • Test your cart widgets after disabling AJAX Cart Fragments 21 Disable AJAX Cart Fragments
  • 23. ● Conflation of multiple entities ● Calls for products, plug-in data, and other entities 23 The WooCommerce Table Structure Dilemma
  • 24. • Custom Order tables adds the structural integrity of a true eCommerce engine • Better support especially for ▪ High traffic stores ▪ Stores with larger product catalogs 24 Improved the Speed of Orders
  • 25. • Core, Plugins, Meta • Dedicated indexes & less busy tables 25 Three Types of Tables
  • 26. The Speed of Headless
  • 27. • A Headless stack increases speed by another order of magnitude ▪ Our Headless infrastructure can execute pages up to 10X faster than traditional WordPress ▪ Live customer seeing 6x increase across all Lighthouse metrics • Customized backend integrations creates opportunities for lightning fast optimizations 27 Go Headless
  • 28. Thank you. Jeremy Benoit WP Engine Catherine Kelly WP Engine