The Wire · Showcase
VITEPRESS FIXES ASSET INVALIDATION BUG THAT BREAKS FRAMEWORK CHUNK CACHING
By RepoJournal · Filed · About Vue.js
VitePress stopped unnecessarily invalidating your framework chunk every time a new asset lands, cutting rebuild times on asset-heavy sites.
The fix [1] tackles a real problem: adding a single image or stylesheet was nuking the entire framework bundle from cache, forcing a full rebuild on every deploy. That's brutal for large sites where the framework chunk is your biggest asset. The team also cleaned up the type layer [2] to keep the codebase maintainable as these optimizations stack up. This is exactly the kind of invisible performance win that compounds across thousands of sites. If you're building with VitePress and noticed slow rebuilds after adding assets, this lands today.
One email a day. Unsubscribe in one click.
Keep up with Vue.js in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Pull the latest VitePress to get the asset caching fix vuejs/vitepress [plan]
References
- [1] fix: don't invalidate framework chunk when a new asset is added vuejs/vitepress
- [2] refactor: clean up types vuejs/vitepress