Home/web.dev
Source

web.dev

904 articles from web.dev.

Performance — Best practices for using third-party embeds

Best practices for using third-party embeds

This document discusses performance best practices that you can use when loading third-party embeds, efficient loading techniques and the Layout Shift Terminator tool that helps reduce layout shifts for popular embeds.

Wweb.dev·Performance
Engineering — Emscripten and npm

Emscripten and npm

How do you integrate WebAssembly into this setup? In this article we are going to work this out with C/C++ and Emscripten as an example.

Wweb.dev·Engineering
Frontend — Extract critical CSS

Extract critical CSS

Learn how to improve render times with critical CSS technique and how to choose the best tool for your project.

Wweb.dev·Frontend
Performance — Fast playback with audio and video preload

Fast playback with audio and video preload

Faster playback start means more people watching your video or listening to your audio. That's a known fact. In this article I'll explore techniques you can use to accelerate your media playback by actively preloading resources depending on your use case.

Wweb.dev·Performance
Engineering — Find slow interactions in the field

Find slow interactions in the field

Before you can reproduce slow interactions in the lab to optimize your website's Interaction to Next Paint, you'll need to lean on field data to find them. Learn how to do just that in this guide.

Wweb.dev·Engineering
Security — First-party cookie recipes

First-party cookie recipes

Learn how to set first-party cookies to ensure security, cross-browser compatibility, and minimize chances of breakage once third-party cookies are phased out.

Wweb.dev·Security
Engineering — Fixing mixed content

Fixing mixed content

Find out how to fix mixed content errors on your website, in order to protect users and ensure that all of your content loads.

Wweb.dev·Engineering
Performance — Get started: optimize your React app

Get started: optimize your React app

React is an open-source library that makes building UIs easier. This learning path will cover different APIs and tools within the ecosystem that you should consider using to improve the performance and usability of your application.

Wweb.dev·Performance
Performance — Handling navigation requests

Handling navigation requests

Navigation requests are requests for HTML made whenever you enter a new URL in the navigation bar, or follow a link on a page. This is where service workers make their biggest impact on performance: by using a service worker to respond without waiting for the network, you can ensure that navigations are reliably fast and resilient.

Wweb.dev·Performance
Engineering — Headings and landmarks

Headings and landmarks

By using the correct elements for headings and landmarks, you can dramatically improve the navigation experience for users of assistive technology.

Wweb.dev·Engineering