- Cache
- Publish
- Invalidate
- Refresh
Published references have their own cache tag. The publish webhook expires that tag so dependent pages read the latest published notes. Draft preview bypasses the cache.
Expire reference consumers
The webhook expires the reference cache separately from individual story caches. Pages without related content keep their cached story data.
// Reference consumers have a separate dependency tag, not a global page flush.
revalidateTag(relatedContentCacheTag, expireNow);