
Creating WebP Images with the Command Line
In this codelab, learn how to serve optimized images using WebP.
The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

In this codelab, learn how to serve optimized images using WebP.

In this codelab, learn how to make an application reliable by registering a service worker.

Learn how to set performance budgets and keep your bundlesize in check with webpack.

Use cross-platform browser features to build a sign-in form that's secure, accessible, and easier to use.

Use cross-platform browser features to build a sign-up form that's secure, accessible, and easier to use.

In this codelab, learn how to use the sizes attribute to size images correctly depending on the user's viewport.

In this codelab, learn how both minifying and compressing the JavaScript bundle for an application improves page performance by reducing the app's request size.

In this codelab, learn how Brotli compression can further reduce compression ratios and your app's overall size.

Learn how to speed up future navigations by prefetching resources.

Learn to make your pages more accessible by improving your color and contrast usage.

Opt your pages in to theme-specific defaults of the user agent stylesheet, such as form controls, scroll bars, and system colors. This feature prevents browsers from applying any transformations on their own.

CommonJS modules are very dynamic, which prevents JavaScript optimizers and bundles perform advanced optimizations over them.

Community Guidelines

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.

HowTo Components




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.

Serving desktop-sized images to mobile devices can use 2–4x more data than needed. Instead of a "one-size-fits-all" approach to images, serve different image sizes to different devices.


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

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.

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