Tagged articles
4 articles
Page 1 of 1
Tencent Docs Tech Team
Tencent Docs Tech Team
Nov 29, 2024 · Frontend Development

Keeping Long Tasks Under 50 ms: RAIL Model and Front‑End Optimization Strategies

This article explains why long tasks over 50 ms cause UI lag, introduces the RAIL performance model, outlines how to identify long tasks using Chrome DevTools and the Long Tasks API, and provides practical front‑end optimization techniques such as task splitting, code splitting, and asynchronous scheduling.

FrontendJavaScriptLong Tasks
0 likes · 10 min read
Keeping Long Tasks Under 50 ms: RAIL Model and Front‑End Optimization Strategies
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 14, 2022 · Frontend Development

Front‑End Performance Optimization: RAIL Model, Core Web Vitals, and Practical Best Practices

This article consolidates front‑end performance knowledge by explaining the RAIL model, detailing user‑centric metrics such as FP, FCP, LCP, FID, TTI, TBT and CLS, describing how to capture them with tools like Lighthouse and web‑vitals, and offering concrete optimization techniques ranging from caching and HTTP/2 to code‑splitting, tree‑shaking, skeleton screens and server‑side rendering.

FrontendOptimizationPerformance
0 likes · 24 min read
Front‑End Performance Optimization: RAIL Model, Core Web Vitals, and Practical Best Practices
360 Tech Engineering
360 Tech Engineering
Mar 12, 2019 · Frontend Development

Understanding the RAIL Model and Pixel Pipeline for Smooth Web Animations

This article explains how the RAIL performance model and the browser pixel pipeline can be used to define smoothness standards, measure animation performance, and apply practical techniques such as requestAnimationFrame, avoiding forced synchronous layouts, and leveraging layers to achieve consistently 60 FPS web experiences.

Animation OptimizationRAILpixel pipeline
0 likes · 16 min read
Understanding the RAIL Model and Pixel Pipeline for Smooth Web Animations