Skip to content

Commit 6d348dd

Browse files
committed
docs: update new features page
1 parent e6c1ba8 commit 6d348dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/docs/02.guide/91.new-features.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ definePageMeta({
2424
</script>
2525
```
2626

27+
### Nitro-side language detection and redirection
28+
Language detection and redirection has been reimplemented to be handled from the Nitro server, this allows us to redirect requests earlier in the request lifecycle which improves performance.
29+
30+
The previous implementation did not work correctly when combined with prerendering which this new implementation does.
31+
32+
While this change makes detection and redirection more accurate and should better match the documented behavior, if this causes issues in your project it can be disabled by setting `experimental.nitroContextDetection: false`{lang="yml"} in the module options. The option to disable this feature is temporary and will be removed in a future version.
33+
2734
### Experimental strict SEO mode
2835
We have added a new experimental option `strictSeo`{lang="yml"} that enables strict SEO mode, which changes the way i18n head tags are handled.
2936

0 commit comments

Comments
 (0)