Termerly logo

Compressed assets, deferred chat, lazy locales, long-lived caching

Released
TB

Tomislav Babic

A bundle of related perf wins for the admin app landed in one pass:

  • Asset compression at build time on static files (CSS, JS, fonts, SVG) so the bytes on the wire shrink dramatically.
  • The support chat widget defers on every auth screen — there is no point loading a customer support chat on a page someone is using to sign in.
  • Locale bundles are now lazy-loaded by route, instead of shipping every supported language's translations to every visitor.
  • The static asset directory gets long-lived immutable cache headers, so returning visitors hit a warm cache the moment they arrive.

Each of these on their own is a single-digit percent win. Stacked together they meaningfully change how quickly the app feels ready, especially on second visits.

May 5, 2026

Activity feed

  • CF
    Chloe Foster

    The immutable cache headers on the static directory should mean returning visitors hit a warm cache instantly. Did you keep the file hashes in the filenames or are you doing it some other way?

    May 13, 2026

    Replay