Book Cover
E-book
Author Edgar, Matthew, author

Title Speed metrics guide : choosing the right metrics to use when evaluating websites / Matthew Edgar
Published [New York, New York] : Apress, [2024]

Copies

Description 1 online resource (xv, 242 pages) : illustrations
Contents Intro -- Table of Contents -- About the Author -- Introduction -- Part I: Initial Connection -- Chapter 1: DNS Lookup Time -- What DNS Lookup Time Measures -- DNS Resolution Steps -- How a Visitor's Geographic Location Affects DNS Lookup Time -- DNS TTL: IP Address Cache Duration -- Optimal DNS TTL Value -- Implications of Third-party Resources -- Measuring DNS Lookup Time -- DNS Lookup Time Benchmarks -- Global DNS Lookup Time: DNS Speed Benchmark -- Domain Connections: WebPageTest -- Dig Test: DiG GUI -- Ways to Improve DNS Lookup Time -- Select Faster DNS Provider
Prefetch Third-Party Domains: dns-prefetch and preconnect -- Recap: When to Use DNS Lookup Time -- Chapter 2: Time to First Byte (TTFB) -- What Time to First Byte Measures -- Process Before the Server Sends the First Byte -- How Servers Build a Response -- How Redirects Impact TTFB -- Scenario 1: Redirect Destination URL on the Same Domain -- Scenario 2: Redirect Destination URL on Another Domain -- Implications of Third-party Resources -- Measuring Time to First Byte -- TTFB Benchmarks -- TTFB by Location: KeyCDN Performance Test -- TTFB Details: Byte Check
TTFB Additional Details: WebPageTest -- Ways to Improve Time to First Byte -- Caching Internal Resources -- Choose Faster Hosting Provider -- Recap: When to Use Time to First Byte -- Part II: Displaying the Page -- Chapter 3: DOMContentLoaded Time -- What DOMContentLoaded Measures -- HTML Parsing -- Document Object Model (DOM) -- How CSS Affects Parsing -- How JavaScript Affects Parsing -- Measuring DOMContentLoaded -- DCL Time Benchmarks -- DOM Size Benchmarks -- Browser Timings: GTmetrix -- DOM Elements: PageSpeed Insights -- DOM Nodes: Google Chrome DevTools -- Ways to Improve DOMContentLoaded
HTML Reduction -- Changing How JavaScript Loads: Async and Defer -- Asynchronous Loading -- Deferring JavaScript Load -- Recap: When to Use DOMContentLoaded -- Chapter 4: Total Requests and Transfer Size -- What Total Requests and Transfer Size Measure -- Requested File Types -- Fetch Priority -- Compression -- How Images Are Compressed -- How Other Files Are Compressed -- Measuring Total Requests and Transfer Size -- Total Request Benchmarks -- Transfer Size Benchmarks -- Transfer Size and Resource Size: Chrome DevTools -- Total Requests by Type: WebPageTest
Ways to Improve Total Requests and Transfer Size -- Consolidating Multiple JavaScript or CSS Files -- Domain Sharding and Third-Party Hosts -- Make the Files Smaller: Minification -- When to Use Total Requests and Transfer Size -- Chapter 5: First Contentful Paint -- What First Contentful Paint Measures -- Critical Rendering Path -- CSS Object Model (CSSOM) and Style Calculation -- Layout and Reflow -- Content Evaluated by FCP -- Related Metrics: Start Render and First Paint -- How Fonts Affect Painting -- Measuring First Contentful Paint -- FCP Benchmarks
Summary Why is my website loading slowly? Where should I invest to improve speed? How do I know if those changes made a difference? This book will answer these questions and provide the metrics available to measure website speed. Everybody who manages and maintains a website needs to measure the website's speed. Everybody has a role to play in improving the website's speed. SEOs need to improve core web vitals to compete in organic rankings. Marketers need to improve speed to increase conversion rates. Designers need to create faster websites to improve the user experience. Speed Metrics Guide will help marketers, SEOs, business executives, founders, designers, and more know which metrics to use when measuring their website's speed. Learn how to measure each metric, when it is best to use each metric, and what to do when each metric is slow. You will: Examine the most important metrics to use to measure website speed Understand the meaning of each metric and what to do if that metric is slower Know when to use a given metric and how to measure it
Bibliography Includes bibliographical references and index
Notes Description based on online resource; title from digital title page (viewed on March 26, 2024)
Subject Web site development.
Application software -- Development.
High performance computing.
Application software -- Design
Form Electronic book
ISBN 9798868801556