Techreport blog

Engineering Insights & Guides

The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

11,841 articles
Performance — Faster web navigation with predictive prefetching

Faster web navigation with predictive prefetching

Code splitting allows you to speed up your applications, but it may slow down subsequent navigation. Predictive prefetching is an efficient way to use data analytics to smartly prefetch what the user is likely to use next, optimizing network utilization.

Wweb.dev·Performance
Design & UX — prefers-color-scheme: Hello darkness, my old friend

prefers-color-scheme: Hello darkness, my old friend

Many devices now support an operating system wide dark mode or dark theme experience. This post explains how dark mode can be supported on web pages, lists best practices, and introduces a custom element named dark-mode-toggle that allows web developers to offer users a way to override their operating system level preference on specific web pages.

Wweb.dev·Design & UX
Frontend — prefers-reduced-motion: Sometimes less movement is more

prefers-reduced-motion: Sometimes less movement is more

The prefers-reduced-motion media query detects whether the user has requested that the system minimize the amount of animation or motion it uses. This is for users who either require or prefer minimized animations; for example people with vestibular disorders often prefer animations to be kept to a minimum.

Wweb.dev·Frontend
Performance — Preload critical assets to improve loading speed

Preload critical assets to improve loading speed

As soon as you open any web page, the browser requests an HTML document from a server, parses the contents of the HTML file, and submits separate requests for any other external references. The critical request chain represents the order of resources that are prioritized and fetched by the browser.

Wweb.dev·Performance
Engineering — Prepare media files for the web

Prepare media files for the web

In this section you'll learn how to format video for mobile web playback, and how to create multiple files to cover a range of browsers, plus how to encrypt them.

Wweb.dev·Engineering
Frontend — Photoshop's journey to the web

Photoshop's journey to the web

Over the last three years, Chrome has been working to empower web applications that want to push the boundaries of what's possible in the browser. One such web application has been Photoshop. The idea of running software as complex as Photoshop directly in the browser would have been hard to imagine just a few years ago. However, by using various new web technologies, Adobe has now brought a publi

Wweb.dev·Frontend
Engineering — Codelab: Build a push notification client

Codelab: Build a push notification client

A step-by-step interactive tutorial that shows you how to build a client that subscribes the user to push notifications, displays push messages as notifications, and unsubscribes the user from push notifications.

Wweb.dev·Engineering
Engineering — Common Issues and Reporting Bugs

Common Issues and Reporting Bugs

There are right ways of using notifications, and ways of using them better. Learn what makes a good notification. We won't just show you what to do. We'll show you how to do it.

Wweb.dev·Engineering