The architecture, layer by layer.
Each layer removes a class of overhead that slows, breaks or hides a page. Read in sequence, they explain the proof points without a single optimization pass after the fact.
1Per-page inlined CSS, zero stylesheets
- Removes the render-blocking CSS request
- Removes the unused rule download
- Removes a second network round-trip
Most sites load one monolithic stylesheet carrying rules for every page, so visitors download tens of thousands of unused declarations on every request. We compile Tailwind per page. Each HTML file is scanned on its own. Only the classes it uses are extracted and tree-shaken, then minified and inlined directly into a style tag in the head. There is no external stylesheet to request and nothing render-blocking. The CSS is parse-ready on the first byte, roughly 22KB per page instead of 200KB or more.
2Self-hosted, subsetted fonts
- Same-origin delivery
- Content-hashed filenames
- No flash of invisible text
Third-party font services add DNS lookups, TLS handshakes and a separate origin to every page load. We self-host every font instead. Each file is subset to the Latin range, compressed as woff2 and served from the same origin with a content-hashed filename for immutable caching. A font-display swap rule keeps text visible during loading, so there is no flash of invisible text and no cross-origin connection on the critical path.
3Critical resource preloading
- Request chain depth: 3 to 1
- Font downloads: parallel
Browsers normally discover font files late, only after parsing the CSS that references them. That creates a request chain (HTML, then CSS, then font) where each link adds latency. We place preload hints in the head so fonts enter the high-priority download queue before any CSS is parsed. The chain collapses into parallel downloads, and the fonts are ready before the first render completes.
4Static-first architecture
- JS runtime: 0 KB
- Hydration: none
- Blocking time: 0 ms
JavaScript frameworks ship hundreds of kilobytes of runtime that must be downloaded, parsed, compiled and executed before the page becomes interactive. That hydration cost is the single largest cause of poor mobile scores. A Nitrosite is pure HTML: no React, no hydration step, no framework runtime. The page is interactive the instant it renders, so Time to Interactive equals First Contentful Paint and Total Blocking Time is zero.
5Edge deployment and caching
- Assets: one year, immutable
- HTML: one hour
- No single point of failure
Every Nitrosite is published to object storage with a content delivery network in front of it. Files are served from edge locations across 300 or more cities, so the bytes start physically close to the visitor. Content-hashed assets (fonts, images, scripts) carry a one-year immutable cache directive. HTML carries a one-hour cache so edits propagate quickly. Returning visitors load almost the entire page from cache, and there is no origin server to slow down or fail.
6Semantic HTML and accessibility
- WCAG 2.1 AA contrast
- Skip links and tab order
- Logical heading hierarchy
Accessibility is both a legal obligation and a ranking factor, and an automated audit tests dozens of criteria. Every page uses semantic HTML5 elements, correct ARIA attributes, skip-to-content links, a logical heading hierarchy and color contrast that meets WCAG 2.1 AA. The language attribute, viewport meta and logical tab order are guaranteed on every deployment, not checked by hand.
7Structured data and on-page SEO
- JSON-LD schema graph
- Canonical and social tags
- Sitemap and robots.txt
Every page ships with JSON-LD schema (Organization, BreadcrumbList, WebPage and the relevant entity type) alongside canonical URLs, Open Graph and Twitter Card tags, an XML sitemap and robots.txt. Together these give a crawler a complete, machine-readable picture of the site. This is on-page SEO as a structural property of the build. The ongoing program that ranks the site is covered separately on the SEO architecture page.
8Progressive web app caching
- HTML pages and components
- Font files
- Installable, offline-ready
Every Nitrosite registers a service worker that precaches its pages, fonts and shared components on the first visit. After that the site works offline, and returning visitors get instant loads from the local cache. A web manifest makes the site installable on mobile devices, and a theme-color meta tag gives the browser chrome a polished, native feel.
9Asset optimization
- Nitrosite (gzip): ~45 KB
- WordPress average: ~3.5 MB
Every byte is audited. Vector graphics use SVG, raster images are crushed to their minimum size, and nothing unoptimized sits in the critical rendering path. The Material Symbols icon font is subset from megabytes down to only the icons the site actually uses, a single change that removes the overwhelming majority of its original weight. The result is a page that weighs a small fraction of a typical law firm site.
10Compression at the edge
- HTML, JS, JSON, XML, SVG
- Handled at the edge
- No double-encoding of fonts
Every text-based asset (HTML, inline CSS, JavaScript, JSON, XML and SVG) is served gzip-encoded. That compresses the already-minimal content by a further two-thirds to four-fifths and cuts time on the wire. The content delivery network handles this automatically at the edge, so the origin never compresses on the fly. Fonts are already woff2, so they pass through without double-encoding overhead.