Home/web.dev
Source

web.dev

904 articles from web.dev.

Engineering — Art direction

Art direction

In this codelab, learn how to load completely different images based on device display size.

Wweb.dev·Engineering
Engineering — Use density descriptors

Use density descriptors

In this codelab, learn how to use density descriptors and srcset to load images with the right pixel density for the user's device.

Wweb.dev·Engineering
Engineering — Fix sneaky 404s

Fix sneaky 404s

In this codelab, learn how to track down a sneaky 404 that may prevent your page from being properly indexed.

Wweb.dev·Engineering
Performance — Remove unused code

Remove unused code

In this codelab, learn how to improve the performance of an application by removing any unused and unneeded dependencies.

Wweb.dev·Performance
Distributed — Compiling mkbitmap to WebAssembly

Compiling mkbitmap to WebAssembly

The mkbitmap C program reads an image and applies one or more of the following operations to it, in this order: inversion, highpass filtering, scaling, and thresholding. Each operation can be individually controlled and turned on or off. This article shows how to compile mkbitmap to WebAssembly.

Wweb.dev·Distributed
Performance — Choose the correct level of compression

Choose the correct level of compression

Many images can be heavily compressed, giving excellent performance improvements. This post helps you to choose the right level of compression to maintain the look of images while getting the best performance.

Wweb.dev·Performance
Engineering — Constructable Stylesheets

Constructable Stylesheets

Constructable Stylesheets provide a seamless way to create and distribute styles to documents or shadow roots without worrying about FOUC.

Wweb.dev·Engineering
Systems — Containers and codecs

Containers and codecs

Media files are a bit like onions. The file that you see in your operating system shell is only a container with multiple data streams and different allowable types of encodings.

Wweb.dev·Systems
Networking — Content delivery networks (CDNs)

Content delivery networks (CDNs)

This article provides a comprehensive overview of content delivery networks (CDNs). In addition, it explains how to choose, configure, and optimize a CDN setup.

Wweb.dev·Networking
Frontend — Content reordering

Content reordering

When creating a layout using CSS, ensure you give the same experience for keyboard users as other users.

Wweb.dev·Frontend
Performance — content-visibility: the new CSS property that boosts your rendering performance

content-visibility: the new CSS property that boosts your rendering performance

The CSS content-visibility property enables web content rendering performance benefits by skipping rendering of off-screen content. This article shows you how to use this new CSS property for faster initial load times, using the auto keyword. You will also learn about the CSS Containment Spec and other values for content-visibility that give you more control over how your content renders in the br

Wweb.dev·Performance
Performance — Keeping third-party scripts under control

Keeping third-party scripts under control

Third-party scripts, or "tags" can be a source of performance problems on your site, and therefore a target for optimization. However, before you start optimizing the tags you have added, make sure that you are not optimizing tags you don't even need. This article shows you how to assess requests for new tags, and manage and review existing ones.

Wweb.dev·Performance