Description
In Nuxt 2, we introduced a major enhancement to static generation referred to as Full Static Generation inspired by DreaMinder/nuxt-payload-extractor. You can read more about the history of initial decisions in nuxt/rfcs#22 which finally landed by #6159 in 2.13.0 and being available by opt-in option target: 'static'
.
In Nuxt 3, thanks to nitro we can move payload extraction to the next level to not only support it for a static generation but also the hybrid static mode and even prefetching payload of server-rendered components. We initially tested this enhanced functionality using Nuxt bridge (src) and @danielroe made a POC in danielroe/nuxt-full-static for Nuxt 3 userland implementation.
Using this issue to track the progress of the core implementation roadmap.
- Initial support (chore(deps): update devdependency is-wsl to ^2.1.1 #6455)
- Integrate with NuxtLink to prefetch payload of next pages (feat(nuxt): support prefetching
<nuxt-link>
framework#4329) - Version change detection on new deployment to reload the page (Make serverMiddleware available when generating static pages #6648)
Needs route rules:
- Payload prefetching with hybrid rendering
- File name hashing enabled for generated routes
- payload extraction support in development mode #30679
Metadata
Metadata
Type
Projects
Status