
Codelab: Preload critical assets to improve loading speed
In this codelab, learn how to improve the performance of a page by preloading and prefetching resources.
The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

In this codelab, learn how to improve the performance of a page by preloading and prefetching resources.

In this codelab, learn how to improve the performance of a page by preloading web fonts.

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

In this codelab, learn how to improve performance by replacing an animated GIF with a video.

In this codelab, learn how the same-origin policy works when fetching resources.

In this codelab, learn how the same-origin policy works when accessing data inside an iframe.

In this codelab, learn how to serve images with the correct dimensions to improve network performance.

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

