Talking Drupal

Talking Drupal #415 - Front End Performance


Listen Later

Today we are talking about Front End Performance, Common Front End Issues, and Ways to test and fix said issues with guest Andy Blum. We'll also cover Webp Fallback Image as our module of the week.

For show notes visit: www.talkingDrupal.com/415

Topics
  • How do we break down front end performance
  • How do we measure front end performance
  • What are web vitals
    • Standard, objective measurements
    • First/Largest contentful paint
    • Cumulative layout shift
    • Time to Interactive/First Input Delay/Time To Next Paint/Total Blocking Time
  • What are some common client side performance problems
    • "Flickering"
    • "Slow loading"
    • Image size/resolution issues
    • Render-blocking resources
    • Screen jitters
    • Memory leaks
    • Memory Bloat
  • How do tracking scripts affect performance
  • Tools to help identify and resolve
  • Drupal front end performance
Resources
  • Talking Drupal #373 - Performance, Privacy, and the Open Web
  • Web Vitals
  • Orders of magnitude 100 - 1000 ms
  • Orders of 10 source
    • Instant
    • Near instant
    • Subsequent
  • Talking Drupal #368 - Image Optimization
  • MDN - How Browsers work
  • Prefetch
  • Web Page Test
  • Front End Performance in Drupal
  • architecture.lullabot.com article
Hosts

Nic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Andy Blum - andy-blum.com - andy_blum

MOTW Correspondent

Martin Anderson-Clutz - @mandclu WebP fallback image

  • Brief description:
    • Do you want your Drupal site to generate WebP images in the most optimal way? There are a number of modules for that, today we're going to talk about…
  • Brief history
    • How old: created in Jun 2022 by pedrop
    • Versions available: 1.0.0 and 1.1.0 versions available, both of which support Drupal 8, 9, and 10
  • Maintainership
    • Actively maintained
  • Number of open issues
    • 3, 2 of which are bugs
  • Has test coverage
  • Usage stats:
    • Almost 252 sites
  • Maintainer(s):
    • Most recent release is by dj1999
  • Module features and usage
    • Anyone using testing tools like Lighthouse will have seen suggestions to use modern image formats like WebP, and with good reason. They allow for much smaller image files at the same quality, which means a better user experience and less bandwidth used by both the server and the visitor. WebP is a natural choice because it enjoys over 95% browser support, but many sites still care about that other 5%
    • Drupal core added its own support for webp in 9.2, but without a fallback image, so browsers that don't have WebP support have been out of luck
    • Contrib modules have allowed for generating a webp image and a jpeg fallback, to allow for universal support. Typically they have worked by creating the WebP variant from the output of a core image style, so after an image has been saved as something like a jpeg. That means the resulting WebP can't compress as well, and can show compression artifacts
    • WebP Fallback Image is different because it allows Drupal core to generate the WebP image from the source file, and then creates the jpeg fallback.
    • Also worth noting that this module only creates the jpeg fallback when it's requested, so it doesn't add to the storage of your website unless it's needed
...more
View all episodesView all episodes
Download on the App Store

Talking DrupalBy Talking Drupal Hosts

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

28 ratings


More shows like Talking Drupal

View all
This American Life by This American Life

This American Life

90,967 Listeners

Marketplace by Marketplace

Marketplace

8,763 Listeners

On the Media by WNYC Studios

On the Media

9,182 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

289 Listeners

Pivot by New York Magazine

Pivot

9,539 Listeners

The Daily by The New York Times

The Daily

112,408 Listeners

Up First from NPR by NPR

Up First from NPR

56,513 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

988 Listeners

Behind the Bastards by Cool Zone Media and iHeartPodcasts

Behind the Bastards

15,569 Listeners

Interesting Times with Ross Douthat by New York Times Opinion

Interesting Times with Ross Douthat

7,226 Listeners

SmartLess by Jason Bateman, Sean Hayes, Will Arnett

SmartLess

57,849 Listeners

Hard Fork by The New York Times

Hard Fork

5,512 Listeners

Volts by David Roberts

Volts

630 Listeners

Prof G Markets by Vox Media Podcast Network

Prof G Markets

1,427 Listeners

Fest & Flauschig by Jan Böhmermann & Olli Schulz

Fest & Flauschig

23 Listeners