Skip to content

Conversation

Rich-Harris
Copy link
Member

closes #146. This adds some crude-but-working code that determines whether the code that renders snippets is more recent than the snippet cache, and if so destroys the cache. In theory this will give us the best of all worlds — we don't need to regenerate everything on sync-docs, but we will also avoid deploying stale snippets

Copy link

vercel bot commented Oct 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:32pm

@Rich-Harris Rich-Harris merged commit 599677a into main Oct 8, 2024
3 checks passed
@Rich-Harris Rich-Harris deleted the snippet-cache-invalidation branch October 8, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc replacements are a one-time thing

2 participants