Rebuilding Fieldline's marketing site and docs for sub-second mobile paint
Migrated a script-heavy marketing and documentation portal to static-first Astro architecture, cutting client payload by 1.4 MB and bringing mobile LCP down to 0.9 seconds.
- Primary Content Paint (Mobile)
- 0.9 s
- Baseline: 4.1 s
- Client JavaScript shipped
- 112 KB
- Baseline: 1.54 MB
- Visual Stability (CLS)
- 0.00
- Baseline: 0.24
Context
Fieldline Systems sells real-time warehouse telemetry to operations managers evaluating software on phones and ruggedized tablets over facility Wi-Fi. Their marketing site and technical documentation were served from a single client-rendered React bundle cluttered with overlapping analytics tags and unoptimized product screenshots.
Bottlenecks identified
| Surface | Bottleneck | Measured Impact |
|---|---|---|
| Global entry bundle | 1.54 MB JS parsed before hero paint | 2.1 s main-thread block on mobile |
| Typography | 4 external Google Fonts requests | 310 ms delay + 0.24 CLS jump |
| Docs search | Full 680 KB JSON index fetched on landing pages | Wasted bandwidth on non-docs routes |
Engineering changes
We moved marketing and documentation routes into an Astro static build, preserving React strictly for the interactive ROI calculator (client:visible) and search drawer (client:idle). All fonts were self-hosted with matched fallback metrics, product diagrams were converted to crisp inline SVGs, and non-essential analytics scripts were deferred off the critical render path.
Outcome
Mobile primary content paint dropped from 4.1 seconds to 0.9 seconds within three weeks. Fieldline kept their existing Git pull-request workflow and added a CI check failing any PR that pushes client JavaScript above 150 KB on marketing routes.
---
import BaseLayout from '../layouts/BaseLayout.astro';
import TelemetryHero from '../components/TelemetryHero.astro';
import RoiCalculator from '../components/RoiCalculator.tsx';
---
<BaseLayout title="Warehouse Telemetry | Fieldline">
<!-- Zero JS shipped for static hero and spec tables -->
<TelemetryHero />
<!-- Hydrates strictly when the calculator scrolls into view -->
<RoiCalculator client:visible />
</BaseLayout>Facing a similar performance, SEO, or security bottleneck?
Run a diagnostic scan on your public domain or send your architecture details directly to our engineers.