SvelteKit-Verbesserungen im Januar 2022
SvelteKit erhält Brotli-Kompression, paralleles Vorrendern, automatische CSS-Einbindung, deaktivierbare Service-Worker-Registrierung, SSR-Routenaufteilung und vereinfachte Anfrage-URLs.
Happy new year, Svelte Community! Lots to share this month across Svelte, SvelteKit, Language Tools and the Showcase. Thanks to everyone who made 2021 a great year to use Svelte. Looking forward to the next one 🚀
What’s new in SvelteKit
@sveltejs/adapter-staticfor SvelteKit now has aprecompressoption to make brotli compression of assets and pages easier to do out of the box (#3079)- Concurrency mode in SvelteKit will now prerender pages in parallel (#3120). It is enabled by default in
1.0.0-next.205and later - CSS is now automatically included before JS for improved page performance (d13efe)
- A new config option adds the ability to disable service worker registration to do your own custom registration (#2988)
- SSR route-splitting is here - breaking monolithic builds into smaller pieces for improved startup and routing performance (#2931)
request.origin/path/queryis nowrequest.url- simplifying the config and pageloadfunctions (#3126) …