Recycle your tests: many shades of green
trivago reuses a small subset of its existing Selenium/Cucumber end-to-end scenarios (via its internal framework trupi) for three extra jobs by adding Gherkin tags rather than new test code.
Topics Web & mobile
Page load, Core Web Vitals, bundle size, rendering performance.
Search within Web performance, or combine it with other topics →
trivago reuses a small subset of its existing Selenium/Cucumber end-to-end scenarios (via its internal framework trupi) for three extra jobs by adding Gherkin tags rather than new test code.
Six techniques for making a site readable to LLMs and AI agents, re-ranked using six months of server logs from evilmartians.com.
Chrome (Chromium 151+) now reports web vitals for soft navigations, and Sentry's JavaScript SDK v11 attaches per-navigation LCP, CLS and INP to SPA `navigation` spans by default, using span streaming because vitals finalize after the span ends.
GitHub migrated its Primer Design System and the github.com codebase from styled-components CSS-in-JS to CSS Modules, removing runtime styling costs on client and server.
Sentry's new opt-in bfcacheMetricsIntegration (JavaScript SDK v11) turns the browser's back/forward cache decisions into application metrics, closing a blind spot where cache hits leave no page-load telemetry.
The GitHub Copilot app's pull request view stays responsive on a 2,200-file, million-line diff with 400+ review comments by splitting document height into two geometries: exact, precomputed prefix-summed code rows and lazily measured dynamic blocks for comments, drafts and composers.
Recent Microsoft Edge and Chromium web platform additions include the OpaqueRange API for measuring and highlighting text ranges inside textarea and input elements, ShadowRoot referenceTarget for forwarding ID-reference attributes like for and aria-labelledby into shadow DOM (solving cross-root ARIA), and aria-actions for exposing secondary actions in composite widgets.
Linear migrated its React apps from styled-components to Meta's StyleX over more than 1,000 PRs.
Firefox intends to ship JPEG XL support, built on jxl-rs, a Rust decoder written by Google Research in place of the earlier 100,000-line multithreaded C++ library to reduce attack surface.
Shopify's Checkout Blocks team migrated five high-traffic checkout UI extensions from React and the legacy Remote UI bridge to Preact, remote-dom and Polaris web components, rewriting them in TypeScript, and cut transferred bundle sizes by 40-85% and extension load time by about 8% at P50.
Adding "auto" to the sizes attribute of lazy-loaded images lets the browser pick the best srcset candidate from the actual layout, with no hand-written breakpoint rules.
GitHub made Issues navigation feel instant by moving to a local-first, stale-while-revalidate model: render issue pages from client-side data first, then revalidate in the background.
Fresh 2.3 now skips the client-entry bootstrap script entirely on pages that use no islands or partials, cutting static pages from roughly 5–9 KB gzipped JavaScript to zero with no configuration.
HTML <video> and <audio> elements now accept the same loading="lazy" attribute as images and iframes, deferring media, poster images and even autoplay until the element is visible near the viewport.
GitHub rebuilt the React diff-line components in the pull request Files changed tab after large PRs pushed the JavaScript heap past 1 GB, DOM counts above 400,000 and INP to unusable levels.
Squarespace engineers proposed and landed loading="lazy" for HTML <video> and <audio> in the WHATWG HTML Standard (merged March 23, 2026).
Safari 26.3 adds Zstandard (Zstd) content encoding and an AbortSignal on the Navigation API's NavigateEvent, plus fullscreen video environment dimming in visionOS.
StyleX is Meta's build-time CSS-in-JS compiler that extracts style objects into collision-free atomic CSS, replacing the earlier cx system and cutting CSS size by 80% across Facebook, Instagram, WhatsApp and others.
Etsy used the Speculation Rules API to prefetch listing pages when a user hovers over a search result for 200ms (moderate eagerness).
Bringing Canva's editor draw tool into present mode required three fixes: extracting the editor-coupled draw logic into a new shared package with interfaces between shared classes and domain-specific implementations (Open/Closed Principle), normalizing stroke coordinates so drawings stay correctly positioned and scaled across Presenter View's presenter and audience windows, and lazy loading the draw tool with code splitting.
Shopify migrated its Admin (67 million daily page views, 101 teams, ~350 PRs merged daily, 3M+ lines of TypeScript) to Remix in SPA mode with Vite.
Shopify worked with browser vendors to change the HTML spec, Chromium and WebKit so import maps no longer break when JavaScript modules load before them or when a page has more than one map.
Chrome 136 ships Explicit Compile Hints, which let developers mark a JavaScript file for eager compilation by placing the magic comment `//# allFunctionsCalledOnLoad` at the top.
Shopify's mobile app serves many of its ~600 screens as WebViews, made to feel native through Mobile Bridge, a framework built on @remote-ui/rpc for two-way web/native communication.
A custom Python static site generator replaces per-request GraphQL fetching from a Directus CMS, which was slow and loaded the server, for a school newspaper site.
Zalando's logistics transport teams built an internal portal from independently deployed micro frontends using Webpack Module Federation, so five teams could ship new and legacy apps without redeploying the host.
Zalando built thin OpenTelemetry-based observability SDKs for Node.js and the browser, sharing a common API package so isomorphic apps can be instrumented consistently.
HTTP/3 over QUIC addresses TCP-era protocol inefficiencies: head-of-line blocking, multi-round-trip handshakes (5-6 for cold HTTP/2 vs 3 for HTTP/3), layered TLS overhead, kernel-bound congestion control and lack of connection migration.
Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory.
Datadog's heatmap visualizes DDSketch-backed distribution metrics over time, revealing multimodal behavior (such as pulsing benchmark traffic or health-check modes) that percentile lines hide.
JSR, the JavaScript Registry, splits into components with different reliability targets: a highly available Postgres cluster behind a Rust/Hyper API on Google Cloud Run targeting 99.9%, and a global CDN for package source and npm tarballs targeting 100% uptime.
WebKit's Speedometer 3.0 work spans JavaScriptCore, DOM, style, layout, rendering and Safari itself, with measured gains for each change.
Speedometer 3.0, jointly governed by Blink, Gecko and WebKit developers, changes how browser responsiveness is measured.
Single client-side performance metrics such as Indeed's custom JSV Delay, domContentLoadEnd and LCP each miss parts of the user's perceived page load, and optimizing one often degrades another.
Figma's prototype player used to load entire documents into memory, causing multi-minute loads and crashes on memory-constrained mobile devices.
MotionMark 1.3, Apple's browser graphics benchmark, now detects the browser's requestAnimationFrame frequency and uses it as the target frame rate instead of assuming 60fps.
Figma replaced its single-MacBook performance testing setup with two systems sharing one CI scheduler.
Fresh 1.4 adds optional ahead-of-time asset compilation via `deno task build`, which serves island assets roughly 45-60x faster on serverless cold starts than on-the-fly JIT compilation; a ~30kB search island that took 4.28s now revives near-instantly.
Zalando migrated its Rendering Engine framework, which renders the Fashion Store from backend-defined Entity trees mapped to React Renderers, to React 18 concurrent rendering.
GitHub's new React-based code view renders an 18,000-line file in under a second instead of nearly 27 seconds.
Bun now ships a native bundler in beta, exposed as the `bun build` CLI and the `Bun.build()` JavaScript API.
Islands architecture renders pages as static HTML and hydrates only isolated interactive Preact components, avoiding the whole-page, top-down hydration that ships framework JS even for static content.
Datadog replaced a tangled ~20-parameter dashboard scheduler with separate, general-purpose query and render schedulers used by widgets across the product.
Modern JavaScript build steps exist largely because Node's server-side JavaScript diverged from browser JavaScript, forcing compilation, minification, bundling and code-splitting before code can run in the browser.
Server-side rendering is presented as the answer to bloated client-side apps, with median page weight up 388% on desktop and 1288% on mobile over ten years.
Fresh is a full stack web framework for Deno that renders pages just-in-time on the server and ships zero JavaScript to the client by default, using the islands architecture so only explicitly opted-in components are hydrated in the browser.
Hydrogen, Shopify's React framework for custom storefronts, was built on React Server Components, React 18 streaming SSR and Vite, chosen over static JAMStack approaches because commerce pages are inherently dynamic.
GitHub is moving its shipped JavaScript to ECMAScript 2020 syntax, including optional chaining and nullish coalescing, which cuts about 10kb of JavaScript site-wide.