# web.dev

All of web.dev's articles.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How SPA architectures affect Core Web Vitals

DevFeed: [How SPA architectures affect Core Web Vitals](<https://devfeed.tech/articles/how-spa-architectures-affect-core-web-vitals-85513.md>)

Original publisher: [Read original article](<https://web.dev/articles/vitals-spa-faq?hl=en>)

Author: Philip Walton X GitHub LinkedIn Mastodon Bluesky Homepage

Published: 2026-08-11T07:00:00Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>), [Interaction to Next Paint](<https://devfeed.tech/topics/interaction-to-next-paint.md>), [Page Speed Optimization](<https://devfeed.tech/topics/page-speed-optimization.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [core-web-vitals](<https://devfeed.tech/tags/core-web-vitals.md>), [crux](<https://devfeed.tech/tags/crux.md>), [spas](<https://devfeed.tech/tags/spas.md>)

### AI overview

This FAQ explains how Core Web Vitals apply to single-page applications, including how new soft navigation APIs measure route transitions. It describes differences between soft and full page loads, potential score effects from caching and aggregation, and ways to investigate performance after an SPA migration. Integration of the new APIs across browsers and reporting tools remains in progress.

### Source excerpt

Answers to common questions about SPAs, Core Web Vitals, and how Core Web Vitals treats these.

## Files and directories patterns

DevFeed: [Files and directories patterns](<https://devfeed.tech/articles/files-and-directories-patterns-85511.md>)

Original publisher: [Read original article](<https://web.dev/articles/files?hl=en>)

Published: 2026-07-29T12:48:36Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Filesystems](<https://devfeed.tech/topics/filesystems.md>)

Tags: [directories](<https://devfeed.tech/tags/directories.md>), [files](<https://devfeed.tech/tags/files.md>)

### AI overview

A collection of common patterns for working with files and directories.

### Source excerpt

Files and directories patterns A collection of common patterns to deal with files and directories.

## Lazy loading video

DevFeed: [Lazy loading video](<https://devfeed.tech/articles/lazy-loading-video-85512.md>)

Original publisher: [Read original article](<https://web.dev/articles/lazy-loading-video?hl=en>)

Author: Jeremy Wagner GitHub LinkedIn Homepage Barry Pollard X GitHub Mastodon Bluesky Homepage

Published: 2026-07-02T07:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [lazy loading](<https://devfeed.tech/topics/lazy-loading.md>), [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>)

Tags: [javascript](<https://devfeed.tech/tags/javascript.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

A tutorial on lazy loading video in web pages, covering the `loading` and `preload` attributes, JavaScript with Intersection Observer, and libraries for browser compatibility. It also explains considerations for video used as an animated GIF replacement and for videos that may be Largest Contentful Paint candidates.

### Source excerpt

This post explains lazy loading and the options available to you to lazy loading video.

## Back/forward cache

DevFeed: [Back/forward cache](<https://devfeed.tech/articles/back-forward-cache-85510.md>)

Original publisher: [Read original article](<https://web.dev/articles/bfcache?hl=en>)

Author: Philip Walton X GitHub LinkedIn Mastodon Bluesky Homepage Barry Pollard X GitHub Mastodon Bluesky Homepage

Published: 2026-07-02T07:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [cache-control](<https://devfeed.tech/topics/cache-control.md>), [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cache-control](<https://devfeed.tech/tags/cache-control.md>), [caching](<https://devfeed.tech/tags/caching.md>), [chrome-user-experience-report](<https://devfeed.tech/tags/chrome-user-experience-report.md>), [core-web-vitals](<https://devfeed.tech/tags/core-web-vitals.md>)

### AI overview

The back/forward cache (bfcache) preserves a page in memory when a user navigates away, allowing near-instant restoration and reducing repeat downloads. This tutorial explains how developers can improve bfcache eligibility, handle restored page state and connections, test cacheability, and account for restores in analytics and performance metrics.

### Source excerpt

Learn to optimize your pages for instant loads when using the browser's back and forward buttons.

## Rendering on the Web

DevFeed: [Rendering on the Web](<https://devfeed.tech/articles/rendering-on-the-web-4164.md>)

Original publisher: [Read original article](<https://web.dev/articles/rendering-on-the-web?hl=en>)

Author: Addy Osmani X GitHub Bluesky Jason Miller X GitHub Homepage

Published: 2026-01-05T08:00:00Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [HTML](<https://devfeed.tech/topics/html.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web](<https://devfeed.tech/topics/web.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [Interaction to Next Paint](<https://devfeed.tech/topics/interaction-to-next-paint.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [browser](<https://devfeed.tech/tags/browser.md>), [developers](<https://devfeed.tech/tags/developers.md>), [html](<https://devfeed.tech/tags/html.md>), [interaction-to-next-paint](<https://devfeed.tech/tags/interaction-to-next-paint.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [performance](<https://devfeed.tech/tags/performance.md>), [web](<https://devfeed.tech/tags/web.md>), [web-developers](<https://devfeed.tech/tags/web-developers.md>)

### AI overview

This article explains how web developers can choose where application logic and rendering should run. It defines server-side rendering, client-side rendering, prerendering, hydration, and rehydration, and discusses their tradeoffs using page-performance metrics such as TTFB, FCP, INP, and TBT.

### Source excerpt

Recommendations for implementing logic and rendering in apps.

## Why is CrUX data different from my RUM data?

DevFeed: [Why is CrUX data different from my RUM data?](<https://devfeed.tech/articles/why-is-crux-data-different-from-my-rum-data-4159.md>)

Original publisher: [Read original article](<https://web.dev/articles/crux-and-rum-differences?hl=en>)

Author: Barry Pollard X GitHub Mastodon Bluesky Homepage

Published: 2025-12-17T08:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [real user monitoring](<https://devfeed.tech/topics/real-user-monitoring.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [real-user-monitoring](<https://devfeed.tech/tags/real-user-monitoring.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

### AI overview

This guide explains why Core Web Vitals measurements from CrUX and real user monitoring can differ, and how RUM can provide finer-grained analysis to investigate site issues.

### Source excerpt

Learn about reasons why RUM data can show different Core Web Vitals numbers from CrUX.

## Responsive and fluid typography with Baseline CSS features

DevFeed: [Responsive and fluid typography with Baseline CSS features](<https://devfeed.tech/articles/responsive-and-fluid-typography-with-baseline-css-features-4157.md>)

Original publisher: [Read original article](<https://web.dev/articles/baseline-in-action-fluid-type?hl=en>)

Author: Miriam Suzanne GitHub Bluesky Homepage

Published: 2025-12-16T08:00:00Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [web design](<https://devfeed.tech/topics/web-design.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [article](<https://devfeed.tech/tags/article.md>), [css](<https://devfeed.tech/tags/css.md>), [developer](<https://devfeed.tech/tags/developer.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [learn](<https://devfeed.tech/tags/learn.md>), [typography](<https://devfeed.tech/tags/typography.md>), [user-control](<https://devfeed.tech/tags/user-control.md>), [web-design](<https://devfeed.tech/tags/web-design.md>)

### AI overview

This article explains how responsive and fluid typography can adapt to browser viewport size while preserving user control over font preferences and zoom. It presents Baseline CSS features and emphasizes testing responsive typography for accessibility.

### Source excerpt

Learn how to use Baseline CSS features to create typography that responds to the user with accessibility and developer ergonomics in mind.

## Ten modern layouts in one line of CSS

DevFeed: [Ten modern layouts in one line of CSS](<https://devfeed.tech/articles/ten-modern-layouts-in-one-line-of-css-4160.md>)

Original publisher: [Read original article](<https://web.dev/articles/one-line-layouts?hl=en>)

Author: Una Kravets X GitHub Bluesky Homepage

Published: 2025-12-15T08:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [demo](<https://devfeed.tech/tags/demo.md>)

### AI overview

A tutorial on concise modern CSS layout techniques, including centering, Flexbox-based responsive cards, and grid sidebars.

### Source excerpt

This post highlights a few powerful lines of CSS that do some serious heavy lifting and help you build robust modern layouts.

## Color themes with Baseline CSS features

DevFeed: [Color themes with Baseline CSS features](<https://devfeed.tech/articles/color-themes-with-baseline-css-features-4155.md>)

Original publisher: [Read original article](<https://web.dev/articles/baseline-in-action-color-theme?hl=en>)

Author: David A Herron Homepage

Published: 2025-12-11T08:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [dark-mode](<https://devfeed.tech/tags/dark-mode.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [themes](<https://devfeed.tech/tags/themes.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A CSS tutorial on building color themes with Baseline features, using relative colors and OkLCh to derive palette values and support light and dark modes.

### Source excerpt

Learn how to create color themes with Baseline web features available in CSS.

## Preload responsive images

DevFeed: [Preload responsive images](<https://devfeed.tech/articles/preload-responsive-images-4162.md>)

Original publisher: [Read original article](<https://web.dev/articles/preload-responsive-images?hl=en>)

Author: Barry Pollard X GitHub Mastodon Bluesky Homepage Yoav Weiss X GitHub

Published: 2025-12-03T08:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [html](<https://devfeed.tech/tags/html.md>), [images](<https://devfeed.tech/tags/images.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

A tutorial on preloading responsive images so browsers can select and fetch an appropriate image resource earlier, improving load speed and reducing unnecessary mobile data use.

### Source excerpt

Learn about new and exciting possibilities for preloading responsive images to ensure great user experience.

## Time to First Byte (TTFB)

DevFeed: [Time to First Byte (TTFB)](<https://devfeed.tech/articles/time-to-first-byte-ttfb-4165.md>)

Original publisher: [Read original article](<https://web.dev/articles/ttfb?hl=en>)

Author: Barry Pollard X GitHub Mastodon Bluesky Homepage Jeremy Wagner GitHub LinkedIn Homepage

Published: 2025-11-28T08:00:00Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [API](<https://devfeed.tech/topics/api.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [browser](<https://devfeed.tech/tags/browser.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [guide](<https://devfeed.tech/tags/guide.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [latency](<https://devfeed.tech/tags/latency.md>), [post](<https://devfeed.tech/tags/post.md>)

### AI overview

This post explains Time to First Byte (TTFB), a metric measuring the time from navigation start until the first response byte begins to arrive. It covers the request phases that contribute to TTFB, the effects of 103 Early Hints and early response flushing, recommended performance targets, and methods for measuring TTFB in browsers and developer tools.

### Source excerpt

This post explains the Time to First Byte (TTFB) metric and shows how to measure it.

## Optimize Time to First Byte

DevFeed: [Optimize Time to First Byte](<https://devfeed.tech/articles/optimize-time-to-first-byte-4161.md>)

Original publisher: [Read original article](<https://web.dev/articles/optimize-ttfb?hl=en>)

Author: Barry Pollard X GitHub Mastodon Bluesky Homepage Jeremy Wagner GitHub LinkedIn Homepage

Published: 2025-11-28T08:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Latency](<https://devfeed.tech/topics/latency.md>), [real user monitoring](<https://devfeed.tech/topics/real-user-monitoring.md>), [Web](<https://devfeed.tech/topics/web.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [latency](<https://devfeed.tech/tags/latency.md>), [performance](<https://devfeed.tech/tags/performance.md>), [time](<https://devfeed.tech/tags/time.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [web](<https://devfeed.tech/tags/web.md>), [web-performance](<https://devfeed.tech/tags/web-performance.md>)

### AI overview

This tutorial explains how to optimize Time to First Byte (TTFB), a web performance metric that affects subsequent user experience metrics such as First Contentful Paint and Largest Contentful Paint. It covers measuring TTFB with field and lab data, understanding differences between them, and investigating redirects, server-side caching, and network conditions.

### Source excerpt

Learn how to optimize for the Time to First Byte metric.

## and popover: Baseline layered UI patterns

DevFeed: [and popover: Baseline layered UI patterns](<https://devfeed.tech/articles/and-popover-baseline-layered-ui-patterns-4156.md>)

Original publisher: [Read original article](<https://web.dev/articles/baseline-in-action-dialog-popover?hl=en>)

Author: David A Herron Homepage

Published: 2025-11-25T08:00:00Z

Content type: article

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [dialog](<https://devfeed.tech/topics/dialog.md>), [aria](<https://devfeed.tech/topics/aria.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Web](<https://devfeed.tech/topics/web.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [aria](<https://devfeed.tech/tags/aria.md>), [article](<https://devfeed.tech/tags/article.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [modal](<https://devfeed.tech/tags/modal.md>), [ui](<https://devfeed.tech/tags/ui.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>), [user-interface](<https://devfeed.tech/tags/user-interface.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

This article explains how to build modal and popover UI patterns with features built into modern web browsers. It demonstrates a sign-up modal that appears when a user tries to save an image to a favorites list without being logged in, and discusses the accessibility behavior required for modal dialogs.

### Source excerpt

Learn how to build UI patterns for modal windows and prompts using the and popover web features.

## How to implement an image gallery using Baseline features

DevFeed: [How to implement an image gallery using Baseline features](<https://devfeed.tech/articles/how-to-implement-an-image-gallery-using-baseline-features-4158.md>)

Original publisher: [Read original article](<https://web.dev/articles/baseline-in-action-image-gallery?hl=en>)

Author: Stacy Kvernmo Bluesky Homepage

Published: 2025-10-29T07:00:00Z

Content type: tutorial

Language: en

Sources: [web.dev](<https://devfeed.tech/sources/web-dev-articles.md>)

Topics: [Web platform](<https://devfeed.tech/topics/web-platform.md>), [HTML](<https://devfeed.tech/topics/html.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Usability](<https://devfeed.tech/topics/usability.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [defer](<https://devfeed.tech/tags/defer.md>), [demo](<https://devfeed.tech/tags/demo.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [features](<https://devfeed.tech/tags/features.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [performance](<https://devfeed.tech/tags/performance.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [usability](<https://devfeed.tech/tags/usability.md>), [user-interface](<https://devfeed.tech/tags/user-interface.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This tutorial demonstrates how to implement a web image gallery with Baseline features. It focuses on reducing performance costs from large image collections through HTML-based lazy loading, including images that are initially hidden in dialogs.

### Source excerpt

Image galleries are a common user interface pattern on the web. Learn how to create one using Baseline features.