1. Home
  2. Blog
  3. Page 4

Blog, page 4

Flat vector illustration of a webhook request envelope passing through an HMAC signature check shield into a secure server
APIs, Backend & Security 13 min read

How to Verify Webhook Signatures (HMAC) the Right Way in Node.js, Next.js and WordPress

Your webhook URL is public, so anyone can post fake events to it. Here is how I verify HMAC webhook signatures with the raw body, constant-time comparison and timestamp checks, with working Express, Next.js and WordPress code.

Flat vector illustration of a dark code panel with one line underlined in orange-red, linked through an orange-red check badge to a light-gray checklist card, showing TypeScript satisfies validating a config object
JavaScript & TypeScript 11 min read

TypeScript satisfies Operator: Type-Safe Config Without Losing Inference

Type annotations quietly widen your config objects. Learn how the TypeScript satisfies operator and as const give you strict checks and precise inferred types, with real patterns and common mistakes.

Flat vector illustration of a browser window with a small cache shelf of files, where an orange-red return arrow serves a repeat visit instantly from the browser cache instead of travelling to the origin server
Web Performance 19 min read

Cache-Control Headers in 2026: Caching Rules That Make Repeat Visits Instant

How I set Cache-Control headers on client sites: hashed assets cached for a year, HTML revalidated with ETags, private pages kept out of shared caches, and CDN rules that just work.

Flat vector illustration of a web page card whose hidden JSON-LD code panel links its article, breadcrumb and organization nodes into one connected graph, with the key node in orange-red
WordPress & SEO 18 min read

JSON-LD Structured Data in 2026: Schema Markup That Still Earns Rich Results

How I add JSON-LD structured data to client sites in 2026: the schema types that still earn rich results, one connected @graph, safe Next.js and WordPress output, and testing in CI.

Flat vector illustration of a browser window with a cursor hovering a link while the next page is already prerendered behind it, outlined in orange-red
Web Performance 20 min read

Speculation Rules API in 2026: Prerender the Next Page Before the Click

How I use the Speculation Rules API on client sites: prefetch vs prerender, document rules, eagerness levels, safe exclusions, prerender-aware analytics, and WordPress 6.8 speculative loading.

Flat vector illustration of a checkout request passing through an idempotency key gate so only one order is created despite repeated retries
APIs, Backend & Security 17 min read

Idempotency Keys in 2026: Stop Duplicate Payments and Double Submits in Your API

Learn how idempotency keys stop duplicate payments and double submits: the Idempotency-Key header, Postgres and Redis storage, 409 and 422 handling, safe retries, and webhook dedupe.

Abstract vector form submitting to a server action without a separate API route card, Next.js App Router mutation metaphor
React & Next.js 13 min read

React Server Actions in 2026: Forms and Mutations Without Extra API Routes

Practical Next.js Server Actions for client sites in 2026: progressive forms, useActionState, validation, auth cookies, revalidatePath/Tag, CSRF, and when to use Route Handlers instead.

Shield with a padlock blocking injected scripts while trusted page resources pass: Content Security Policy against XSS
APIs, Backend & Security 11 min read

Content Security Policy in 2026: Lock Down XSS Without Breaking Your Scripts

Practical CSP in 2026: report-only rollout, nonces vs hashes vs strict-dynamic, WordPress and Next.js headers, GTM, and a checklist to stop XSS without breaking scripts.

Vector illustration of WordPress performance tuning cutting plugin bloat and improving TTFB
WordPress & SEO 12 min read

WordPress Performance in 2026: Cut Plugin Bloat and TTFB Without Breaking Features

Cut WordPress plugin bloat and TTFB in 2026 with Query Monitor, one page-cache layer, Redis object cache, autoload audits, and CDN tips that keep features working.

Vector illustration of Playwright end-to-end testing catching a broken checkout flow before a client finds it
JavaScript & TypeScript 16 min read

Playwright Testing in 2026: Catch Broken User Flows Before Clients Do

Learn Playwright end-to-end testing in 2026: role-based locators, web-first assertions, auth storage state, API seeding, traces, and CI that catches broken user flows before clients do.

Vector illustration of an accessible form layout with label lines, focus ring, and error callout in orange-red accent
CSS & Design 17 min read

Accessible Forms in 2026: Labels, Errors, and Focus That Screen Readers Trust

Learn accessible forms in 2026 — native labels, aria-describedby errors, focus after submit, live regions, autocomplete tokens, and keyboard plus screen reader testing for React and WordPress.

Vector illustration of exclusive UI state branches splitting from one status tag, representing TypeScript discriminated unions
JavaScript & TypeScript 13 min read

TypeScript Discriminated Unions in 2026: Make Impossible UI States Unrepresentable

Learn TypeScript discriminated unions in 2026 — model UI state machines, narrow with switch, exhaustiveness via never, and stop shipping impossible loading/error/success combinations.

Up and down to move, Enter to go, Esc to close

Before you go

Planning a website launch?

Read the checks I run before any site goes live: speed, SEO, forms, accessibility and backups.

Read the launch checklist Ask on WhatsApp