Browse 4 notes tagged web performance.
Learn root, rootMargin, threshold, initial notifications, and observer cleanup with small JavaScript examples. Separate infinite-scroll request control from virtualization and its DOM budget.
Speculation Rules can speed up the next MPA navigation, but prefetch and prerender have very different costs. Exclude side-effecting URLs, preserve ordinary navigation, then use activation and hit rate to decide whether to expand.
Scheduler gives the browser a priority hint; it is not a background thread. Keep short UI work synchronous, then choose postTask, yield, or a Web Worker from measured evidence.
SSR can improve first paint and SEO, but hydration JSON and RSC payloads still travel and parse. Here is a practical Next.js measurement and reduction order.
Google services settings
Analytics and advertising stay off until you choose.