Client JS Budget

Use when a storefront scores badly on Total Blocking Time or INP, when an interaction (opening filters, adding to cart, switching a tab, opening the menu) feels slow, when deciding whether a component needs JavaScript at all, or when a third-party tag (GTM, pixels, chat, anti-fraud) is suspected of eating the main thread. Covers how to attribute blocking time before changing anything, the CSS-first ladder that removes JS instead of deferring it, and the gating patterns that move a script off the critical path without losing the data it collects.

decocms 236c26c 10.2 KB Updated

File contents

decocms/storefront-skills/tree/main/.claude-performance/skills/client-js-budget commit 236c26cda1

Frequently asked questions

npx skillmds@latest add decocms/client-js-budget