🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)
🔧 AI Nachrichten Major AI platforms go down in unprecedented simultaneous outage(03.09.2026 um 17:34 Uhr)
🔧 AI Nachrichten ChatGPT, Claude, and Grok Down? Users Report Widespread Outages(03.09.2026 um 19:14 Uhr)
🔧 AI Nachrichten OpenAI Launches GPT-6 Astra, Says We May Have Entered the AGI Era(03.09.2026 um 22:08 Uhr)
🔧 AI Nachrichten Claude Comes to CarPlay as Fifth Major AI Chatbot App(05.09.2026 um 05:31 Uhr)
🔧 AI Nachrichten OpenAI’s GPT-6 Astra Is AGI, Says NVIDIA CEO Jensen Huang(07.09.2026 um 06:31 Uhr)
🔧 AI Nachrichten Blame AI companies for Mac mini and Mac Studio shortage(31.08.2026 um 10:32 Uhr)

🔧 Programmierung 🕛 kürzlich 6 Min Lesezeit
0

Webhooks and on-demand revalidation: keep your headless site fresh without full rebuilds

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Originally published on .



Static and ISR sites are fast because they cache content. That same cache is why your homepage still shows yesterday’s headline after you hit Publish in the CMS.



You do not need a full rebuild every time. Point a webhook at a small API route, verify the signature, then call on-demand revalidation (revalidateTag / revalidatePath in Next.js, or a rebuild hook on Astro/Cloudflare). This guide walks through that pattern with ) and a publicly reachable HTTPS URL for the handler (local tunnels work for testing).






1. Create the webhook in NomaCMS




  1. Open your project in .



    URL rules: HTTPS is required in normal setups. The platform rejects private, loopback, and credential-in-URL targets. That protects against SSRF-style misconfiguration.






    2. What each delivery looks like



    When an event matches, NomaCMS POSTs JSON to your URL. At send time the body includes at least:





    • event (for example content.published)

    • project_uuid


    • timestamp (ISO 8601)


    • delivery_id (unique per attempt)



    If you set a secret, the request includes header X-Webhook-Signature: hex-encoded HMAC-SHA256 of the exact JSON body using that secret.



    Keep your handler fast. Return 2xx quickly. Do heavy work after you acknowledge the request if your framework allows it. Timeouts are short (about 10 seconds on the sender).






    3. Next.js: revalidate on webhook



    Tag your CMS fetches so you can clear them by name.




    CODE
    // Example: fetch with a tag in a Server Component
    const posts = await fetch("https://app.nomacms.com/api/...", {
    next: { tags: ["cms-posts"] },
    })






    Or, if you use @nomacms/js-sdk inside a Server Component, wrap data loading so the result participates in Next.js caching and use the same tag strategy your app already uses. The Next.js guide notes revalidate, revalidatePath, and revalidateTag for CMS updates: note on rebuilding when CMS content changes.



  2. Cloudflare / Netlify / similar: many platforms expose a “deploy hook” URL. Point the NomaCMS webhook at that URL, or at a thin proxy that checks the signature first.



  3. Signature checking still matters even if the target is a deploy hook, if you can put a small verifier in front.






    5. Retries and delivery logs



    From the sender:




    • Failed network calls and 5xx (and 429) are retried (job tries 3, backoff 30 seconds).

    • Most 4xx responses are not retried (your bug, not a blip). Fix the handler, then publish again or wait for the next edit.



    In the dashboard (or via GET /api/webhooks/{uuid}/logs / client.webhooks.logs), open delivery logs for the webhook. You will see the event name, URL, HTTP status (or blocked / error), and truncated request/response bodies. Use that when your Route Handler returns 401 or 500.



    Docs:

  4. (7-day free trial)



  5. Questions welcome in the comments.

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
3 Quellen
GPT-6 Astra Release Today? OpenAI’s Next Major AI Model Is Almost Here
1 Quelle
Apple accuses OpenAI of destroying evidence as trade-secrets fight intensifies
1 Quelle
Major AI platforms go down in unprecedented simultaneous outage
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Webhooks and on-demand revalidation: keep your headless site fresh without full rebuilds

Thematisch verwandte Begriffe: Webhooks, ondemand, revalidation, keep · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...