Commit 2897297
authored
feat(nuxt): Exclude tracing meta tags on cached pages in Nuxt 5 (#20168)
To know whether a page is SWR cached, can now be found in
`event.context.routeRules.swr` (Nitro v3) instead of
`event.context.cache.options.swr` (Nitro v2).
closes #201691 parent 1cc3dd0 commit 2897297
2 files changed
Lines changed: 5 additions & 5 deletions
File tree
- dev-packages/e2e-tests/test-applications/nuxt-5/tests
- packages/nuxt/src/runtime/plugins
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
| 21 | + | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
0 commit comments