Header background left
Header background right
University Logo
AU
Anurag University — ISR Demo
AWS Amplify
⚠️

This page is hosted on AWS Amplify

Content is cached with a 60-second TTL. On-Demand ISR is not supported — even if Sanity publishes a webhook, this page cannot respond to it. Stale content is served until the TTL expires.

anurag.edu.in/isr-demo — Time-Based Cache (60s TTL)
📢 Breaking News🟠 From Sanity (60s cache)

checkffff

checkingfbxvfdvdfdvdv

✏️ Hotfix pushed 5:37 PM

Sanity published at: 06:15:32 am

Page rendered at: 10:27:20 am← cache expires in ~60s from this timestamp
⚠ Time-based cache — no webhook support

Why This Page Can't Update Instantly

1

Sanity publishes new content

An editor publishes updated content in Sanity Studio. Sanity fires a webhook to "/api/revalidate".

2

Webhook arrives — but nothing happens

AWS Amplify receives the webhook call. Next.js runs revalidateTag() inside the route handler, but Amplify's infrastructure does not honour on-demand cache invalidation. The call is silently ignored.

3

Page waits for 60-second TTL to expire

Only after the 60-second time-based cache expires will the next visitor trigger a fresh Sanity fetch. During those 60 seconds, all visitors see stale content.

✓

On Vercel: step 2 works — cache is invalidated instantly

Vercel's infrastructure fully supports revalidateTag() with { expire: 0 }. The very next request after the webhook fires serves fresh content from Sanity.

Demo built for Anurag University infrastructure review — 2025
Become Team
Designed By
Team BecomeTeam Become

© 2026 Anurag University. All rights reserved.

Anurag University