Content Not Updating
Overview
When you publish in Sanity, Marketplace updates the live site through a cache invalidation pipeline.
Most content update issues are timing, publish state, or caching.
Expected publish to live timing
Expected time from publish to live: 2 to 5 minutes.
This includes an intentional delay before cache purge to prevent cache stampedes and allow propagation through Sanity’s CDN.
How updates reach the live site
- A content author publishes in Sanity Studio.
- Sanity fires a webhook containing the document type and environment identifiers.
- Query Composer evaluates registered queries and identifies which cache tags are affected based on mainType and includedTypes.
- Affected cache tags are queued to Cloudflare with a 2-minute delay.
- Cloudflare purges those cache tags at the edge.
- The next request regenerates the page using fresh Sanity data.
Causes and fixes
You are still within the propagation window
The delay is intentional.
Fix:
- Wait 5 minutes after publishing.
- Do a hard refresh.
Hard refresh:
- Windows and Linux: Ctrl+Shift+R
- Mac: Cmd+Shift+R
The document was saved, not published
Drafts are not visible on the live site.
Fix:
- Open the document in Sanity Studio.
- Click Publish.
Browser cache is serving old content
A browser can keep an older version even after server cache is cleared.
Fix:
- Hard refresh.
- Test in an incognito or private window.