Headless & APIs 2026-10-22 · 7 min read

Headless Drupal 11 + Next.js: When to Decouple and How to Architect It

Carlos Del Hierro
Carlos Del Hierro
Senior Drupal 10/11 & AI Architect · 10+ years Drupal experience
Headless Drupal 11 + Next.js: When to Decouple and How to Architect It

Having built both traditional Twig-based Drupal portals (such as municipal websites and university platforms) and fully decoupled Headless Drupal backends (such as the Maspalomas Smart City platform and IoT/AI platforms), the first question I always ask a client is: Do you really need a decoupled frontend, or do you need a well-cached Twig frontend?

When Headless Drupal + Next.js Truly Shines

  • Multi-consumer Data Hubs: When the same Drupal backend feeds a web portal, mobile apps, urban totems, or IoT dashboards via REST, JSON:API, or GraphQL.
  • Application-like UIs: Complex interactive dashboards, real-time filtering, or map-heavy Smart City interfaces.
  • Independent Frontend & Backend Teams: When React/Next.js engineers and Drupal backend architects work in parallel release cycles.

Key Architecture Decisions: ISR, On-Demand Revalidation & Security

In my open-source Drupal + Next.js Headless Starter, we combine Next.js App Router with Incremental Static Regeneration (ISR) and Drupal Event Subscribers that trigger on-demand webhook revalidation whenever an editor updates a node—giving editors instant updates while serving static-speed pages to users.

#Drupal 11 #Next.js #GraphQL #JSON:API #Headless

Want to implement this in your Drupal platform?

Have questions about this architecture, Drupal 11 + PHP 8.4, or AI/MCP workflows? Feel free to reach out and connect.