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
Football Weekly by The Guardian

Football Weekly

2,509 Listeners

This American Life by This American Life

This American Life

90,623 Listeners

Marketplace by Marketplace

Marketplace

8,647 Listeners

Fresh Air by NPR

Fresh Air

38,198 Listeners

Planet Money by NPR

Planet Money

30,934 Listeners

Freakonomics Radio by Freakonomics Radio + Stitcher

Freakonomics Radio

32,174 Listeners

99% Invisible by Roman Mars

99% Invisible

26,143 Listeners

Pivot by New York Magazine

Pivot

9,113 Listeners

The Daily by The New York Times

The Daily

111,294 Listeners

Up First from NPR by NPR

Up First from NPR

55,966 Listeners

The Indicator from Planet Money by NPR

The Indicator from Planet Money

9,542 Listeners

Throughline by NPR

Throughline

15,954 Listeners

Against the Rules with Michael Lewis by Pushkin Industries

Against the Rules with Michael Lewis

9,526 Listeners

SmartLess by Jason Bateman, Sean Hayes, Will Arnett

SmartLess

57,931 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,206 Listeners