Engineering Sub-Second Content Delivery: Core Web Vitals in Next.js 14 App Router
Search engine algorithms reward one thing above all else: raw user experience. An article containing peerless technical insight will struggle to rank organically if the reader is greeted by layout shifts, sluggish font rendering, or hundreds of kilobytes of unoptimized JavaScript.
When engineering blogs.oyrax.com, our performance benchmark was unambiguous: instantaneous navigation, zero layout shift (CLS = 0), and a Largest Contentful Paint (LCP) under 1.2 seconds.
Here is how we achieved it.
1. 100% Server Components by Default
In standard React Single Page Applications (SPAs), the browser downloads a substantial JavaScript bundle before mounting the DOM.
On Oyrax Blogs, every page route is a React Server Component (RSC):
- No hydration overhead for article content, code blocks, or markdown tables.
- HTML is generated entirely on the server and streamed to the edge.
- Client-side JavaScript is confined to isolated micro-interactions (such as the dark/light mode toggle and interactive search filter).
2. Type 1 vs Type 2 Image Strategy
Many publishing platforms force a generic stock placeholder image when an article author publishes a text-focused editorial. This causes:
- Needless bandwidth consumption on mobile networks.
- Inconsistent visual hierarchy.
- Layout shifts while low-resolution placeholders resolve.
Our renderer natively differentiates Type 1 (Text-only) and Type 2 (Image-featured) articles. For text-only articles, the layout adapts organically into a clean, typography-focused Bento card. When featured images are present, we leverage Next.js <Image /> with strict responsive aspect ratios and modern AVIF/WebP formats.
3. Safe, Zero-Runtime Markdown
Rather than pulling in heavy client-side markdown parsers with runtime DOM purification libraries, article markdown is processed securely on the server into semantic HTML tags:
<article>,<header>,<time>,<section>,<aside>.- Automated calculation of accurate reading times.
- Zero client-side parsing cost.
The result is a publishing platform that loads at the speed of thought.

