diff --git a/docs/1.guide/2.routing.md b/docs/1.guide/2.routing.md index 5adfbbe6e0..350de4eac7 100644 --- a/docs/1.guide/2.routing.md +++ b/docs/1.guide/2.routing.md @@ -281,7 +281,7 @@ This behaviour can be overridden by some request properties (eg.: `Accept` or `U Nitro allows you to add logic at the top-level for each route of your configuration. It can be used for redirecting, proxying, caching and adding headers to routes. -It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/radix3#route-matcher)) to route options. +It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/rou3/tree/radix3#route-matcher)) to route options. When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`. See the [cache guide](/guide/cache) to learn more about this function. diff --git a/docs/3.config/0.index.md b/docs/3.config/0.index.md index 214397b5fb..8201a9586c 100644 --- a/docs/3.config/0.index.md +++ b/docs/3.config/0.index.md @@ -328,7 +328,7 @@ export default defineNitroErrorHandler((error, event) => { **🧪 Experimental!** -Route options. It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/radix3#route-matcher)) to route options. +Route options. It is a map from route pattern (following [unjs/radix3](https://github.com/unjs/rou3/tree/radix3#route-matcher)) to route options. When `cache` option is set, handlers matching pattern will be automatically wrapped with `defineCachedEventHandler`.