· 4 min read
PerformanceInteraction to Next Paint replaced First Input Delay as a Core Web Vital. If your site felt fast in 2023 and 'got slow' since, INP is probably why — and the fix is mostly about your main thread.
Read article· 4 min read
3 articles
Interaction to Next Paint replaced First Input Delay as a Core Web Vital. If your site felt fast in 2023 and 'got slow' since, INP is probably why — and the fix is mostly about your main thread.
Scroll, resize, input, and mousemove fire faster than your code can keep up. Debounce and throttle are how you stop paying the event-loop tax — if you pick the right one.
Why localStorage is the wrong home for your JWTs, how XSS turns it into a token vault for attackers, and what to do instead.