AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
One common client-side performance problem is large image sizes. It is important to optimize images by resizing them to the appropriate dimensions and compressing them to reduce file size. This helps improve page load times and overall performance.
Another issue is render blocking resources, such as CSS and JavaScript files that delay page rendering. To address this, developers can use preload or prerender techniques to fetch these resources ahead of time, ensuring they are ready when needed and reducing delays in page rendering.
Screen jitters refer to the issue of elements shifting or moving on the screen, usually due to layout changes or animations. This can create a jarring experience for users. To mitigate screen jitters, developers need to carefully manage layout changes, animations, and transitions, ensuring smooth and seamless movements on the screen.
First Input Delay (FID) measures the time between when a user interacts with a page and when the browser is ready to respond. Slow FID can occur due to long tasks or JavaScript code that blocks the main thread. To improve FID, developers should optimize code execution, minimize main thread blocking, and prioritize responsiveness to user input.
The podcast episode discusses various performance issues related to front-end development. One important aspect mentioned is screen jitters, which occur when the main thread is blocked during rapid interactions such as scrolling or resizing. Another issue discussed is the flickering and jumping caused by hover effects when the hover space changes rapidly. Additionally, memory leaks and memory bloat are highlighted as common problems that can lead to out-of-memory errors and slow down a browser's performance.
The podcast also addresses the challenges posed by tracking scripts and offers tips to overcome them. It suggests tracking only essential metrics and being mindful of the number of tracking scripts used. The importance of critically evaluating the necessity of each script and considering partial implementation, such as tracking a percentage of users, is emphasized. The use of tools like Google Tag Manager is suggested for better control and management of tracking scripts.
In terms of tools, the podcast highlights several options for identifying and resolving performance issues. Web Page Test is recommended for running synthetic user testing and gaining an overview of performance metrics. The browser development tools in Chrome and Firefox are praised for their functionality, including network analysis, performance profiling, memory monitoring, and source code analysis. Lighthouse is also mentioned as a useful tool for evaluating overall site performance and identifying areas of improvement. The Drupal context is briefly touched upon, with suggestions to employ strategies like file minification, resource aggregation, and asynchronous/deferred loading of JavaScript to enhance front-end performance.
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
TopicsNic Laflin - nLighteneddevelopment.com nicxvan John Picozzi - epam.com johnpicozzi Andy Blum - andy-blum.com - andy_blum
MOTW CorrespondentMartin Anderson-Clutz - @mandclu WebP fallback image
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode