
Debounce your input handlers
Input handlers are a potential cause of performance problems in your apps, as they can block frames from completing, and can cause additional and unnecessary layout work.
The best problem-solving writing in software engineering — databases, performance, security, frontend and distributed systems, in one feed.

Input handlers are a potential cause of performance problems in your apps, as they can block frames from completing, and can cause additional and unnecessary layout work.

Learn how to identify and fix layout shifts.

Learn how to attribute your performance data with debug information to help you identify and fix real-user issues with analytics

Learn how to debug media playback errors on the web.

Declarative Shadow DOM is a new way to implement and use Shadow DOM directly in HTML.

How to use webpack to make your app as small as possible

A collection of insights on the top pain points, collected from a number of one to one conversations with web developers.

Learn how to defer non-critical CSS with the goal of optimizing the Critical Rendering Path, and improving First Contentful Paint (FCP).

Best practices for combining different installation offerings to increase installation rates and avoid platform competition and cannibalization.

The research and methodology behind Core Web Vitals thresholds

A skeuomorphic attempt at recreating a solar calculator on the web that makes use of the ambient light sensor and the window controls overlay feature.

Detached windows are a common type of memory leak that is particularly difficult to find and fix.

Web Developer Satisfaction is a Google project to gather information about the needs of web developers. The goal is a more reliable, predictable and interoperable web platform, enabling developers to invest in and trust it, and adopt and use new features to grow the platform and their business.

Device motion and orientation events provide access to the built-in accelerometer, gyroscope, and compass in mobile devices.

Since Chrome 84, ResizeObserver supports a new box measurement called device-pixel-content-box, that measures the element's dimension in physical pixels. This is crucial for rendering pixel-perfect graphics, especially in the context of high-density screens.

This article helps Web developers pick the right hardware API based on a given device.

Web apps can now disable mouse acceleration when capturing pointer events.

It's common for a page or app to have unsubmitted analytics or other data when a user closes it. Sites use a synchronous call to XMLHttpRequest(), which hurts the user experience and ignores better ways to save data. Chrome 80 implements a recent spec change to address this.

Lighthouse is a tool that helps you measure and find ways to improve a page's performance. Lighthouse gives you a report on how the page did. The report provides a score for each metric and a list of opportunities which, if you implement them, should make the page load faster.

The importance of the default DOM order

Large DOM sizes can be a factor in whether interactions are fast or not. Learn more about the relationship between DOM size and INP, and what you can do to reduce DOM size and other ways to limit rendering work when your page has lots of DOM elements.

![Frontend — Downloading resources in HTML5 - a[download]](/covers/8637d946c2.webp?v=8564874)
Chrome now supports the HTML spec's new `download` attribute to `a` elements.

The HTML5 Drag and Drop API lets developers make almost any element on a page draggable.