BuildWithMatija

Technical Blog

Long-form technical guides for developers and evaluators.

How-to guides, tutorials, comparisons, and troubleshooting posts covering Payload CMS, Next.js, Docker, and related systems.

RSS Feed

Browse by area

Open hub
Open hub
Open hub
Audience
More
Sort
Type
Build with Matija logo

Build with Matija

Senior-led B2B websites, applications, content systems, and digital infrastructure. Business-first, full-stack, AI-assisted, no handoffs.

Services

  • B2B Website Development
  • CMS Architecture Review & Platform Blueprint
  • Next.js + Payload Advisory
  • AI Integration & Implementation

Resources

  • CMS Hub
  • B2B Website Strategy
  • E-commerce Hub
  • Blog
  • Case Studies
  • About Matija

Payload CMS

  • Payload CMS Developer
  • Payload CMS Migration
  • Payload CMS Demos
  • All Payload CMS Resources

Discuss your project

Planning a rebuild, migration, application, workflow change, or platform decision? Start with the business problem and the system behind it.

Book a discovery callContact me →
© 2026Build with Matija•All rights reserved•Privacy Policy•Terms of Service
BuildWithMatija
Get In Touch

All Articles (133 of 133 articles)

  • Previous
  • 1
  • 2
  • More pages
  • 12
  • Next
Page 1 of 12

Browse

Topics

PayloadPayload
140
Next.jsNext.js
133
ReactReact
19
DockerDocker
22
AI
29
CloudflareCloudflare
8

Newsletter

Stay Updated

Get practical notes and implementation updates without the noise.

A production guide to user impersonation with Neon Auth (Better Auth) and Next.js, including the __Secure- cookie…
Next.js·Featured

How to Add "Log In As User" Impersonation with Neon Auth in Next.js

Learn how to implement superadmin "log in as user" impersonation using Neon Auth, service accounts, and Next.js server actions while avoiding cookie bugs.

Matija Žiberna
Matija Žiberna
7 days ago14 min
Read article→
Practical breakdown of Next.js 16.4 canary: Partial Prefetching with unstable_ensureStatic, next analyze, stricter…

Next.js

Next.js 16.4 Is Out: Cache Components, React 19.3, and Upgrade Guide

Next.js 16.4 is official. Learn what changed since canary, how ensureStatic and navigation work, and what to test before upgrading an existing app.

7 days ago8 min
Production-ready Neon Managed Better Auth on Vercel with Next.js: proxy /api/auth, service-account admin, six-digit…

Next.js

Neon Managed Better Auth in Next.js on Vercel: A Production Setup Guide

Set up Neon Managed Better Auth in Next.js on Vercel for production: secure proxying, service-account admin flows, six-digit OTP resets, and signed webhook…

10 days ago19 min
Step-by-step Next.js migration from Stack Auth to Neon Managed Better Auth with backup, admin, and user-relink…

Next.js

How to Migrate from Stack Auth to Neon Managed Better Auth in Next.js

A production-tested guide to migrate to Neon Managed Better Auth in Next.js—backup, rehearse on a spike branch, create a service account, re-create users, and…

11 days ago19 min
Step-by-step guide to building a zero-dependency, voice-ready editorial annotation popover with native browser…

Next.js

How to Build an In-Article Editorial Annotation Layer in Next.js with Vanilla JavaScript and CSS

13 days ago13 min
Declare AI content preferences with Next.js 16.3 and the new other directive map in app/robots.ts.

Next.js

How to Implement Content Signals in Next.js 16 (robots.ts)

Learn how to implement Content Signals in Next.js 16 using the official other field in app/robots.ts to declare granular AI training, search, and input…

21 days ago6 min
Allow Claude, ChatGPT, and Gemini to crawl your Next.js site without triggering edge 429 rate limits or exposing…

Next.js

Configure Vercel Firewall for AI Bots: Stop 429 Rate Limits at the Edge

Learn how to configure Vercel Firewall and WAF bypass rules so AI search bots and live browsing agents can index your Next.js blog without hitting edge 429…

21 days ago11 min
How to run Payload CMS migrations before Next.js Cache Components builds on Vercel and safely rollback on failure.

Next.js

Run Payload CMS Migrations Before Vercel Build: Safe Rollback Guide

Avoid broken Next.js builds: run Payload CMS migrations before Vercel builds and auto-rollback failed deploys with payload migrate:down for a safer release.

27 days ago7 min
A practical framework to preserve design, prove parity, and integrate prototypes into production with Next.js and…

Next.js

How to Take Over a Frontend: 4-Step Production Framework

Learn how to take over a frontend without risky rewrites: preserve design, prove parity, integrate vertically, and harden on touch to ship maintainable…

30 days ago12 min
Implement secure, production-ready live previews with Next.js Draft Mode, signed preview tokens, multi-site locales…

Next.js

Ultimate Payload CMS Live Preview Guide for Next.js

A production-ready guide to Payload CMS live preview with Next.js: implement secure draft endpoints, short-lived preview tokens, proper draft/published…

about 1 month ago18 min
Keep layout, navbar and footer cached with cacheComponents while handling cookies, headers, Draft Mode, and metadata…

Next.js

Next.js Cache Components: Static Shell Pattern Guide

Use Next.js Cache Components to keep your layout, navbar, and footer static while resolving cookies, headers, Draft Mode, and metadata correctly.

about 1 month ago12 min
Multi-collection cache tagging, typed cache policies, and CDN-safe tactics to prevent stale data in Next.js

Next.js

Next.js Cache Tag Invalidation: Stop Ghost Data Fast

Next.js cache tag invalidation fix: build a dependency matrix, enforce multi-collection cache tags with a typed policy, and avoid CDN header truncation.

about 1 month ago10 min