IT lexicon › Web › First input delay

First input delay

Web På svenska → Updated: 2026-11-15

A performance metric measuring the time between a user interaction and when the browser can actually respond.

First Input Delay (FID) is part of Core Web Vitals and measures the lag between a user's interaction (click, key press, tap) and when the browser can begin processing that interaction's event handler. High FID usually results from JavaScript blocking the main thread and preventing event handling. Improving FID typically involves using requestAnimationFrame, Web Workers, or breaking long-running JavaScript into smaller chunks with setTimeout.

← Back to the lexicon