Skip to content

Conversation

Rich-Harris
Copy link
Member

Invalidation is currently much too coarse-grained, because we're reading url.pathname and params.path inside layout load functions. While this won't reduce the size of __data.json in most cases (because most are prerendered, and therefore don't exclude data that's still valid — this could be an argument for not merging data into a single file), it will in some, and is a better reflection of intent.

Copy link

vercel bot commented Apr 9, 2025

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

Name Status Preview Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview Apr 9, 2025 9:35pm

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.

1 participant