Why this matters
Uses GPU compositing and avoids costly relayout/paint.
Animate transform/opacity; avoid top/left/width/box-shadow on large elements.
Uses GPU compositing and avoids costly relayout/paint.
Side-by-side examples engineers can pattern-match during review.
.panel{ transition: top .3s }.panel{ transition: transform .3s } // JS: el.style.transform='translateY(0)'.el{ transition: width .2s }.el{ transition: transform .2s }From the same buckets as this rule.
All static JS/CSS/font/image files MUST use content-hashed filenames (e.g., app.9c1a7b.js) and be served with "Cache-Control: public, max-age=31536000, immutable". HTML and other non-fingerprinted documents MUST be served with "Cache-Control: no-cache" (or equivalent) to enable conditional revalidation.