Multiple requests are sent for pageContext json when using nested layouts. Expected? #2133
Unanswered
kulshekhar
asked this question in
Help & Questions
Replies: 1 comment
-
It's indeed unexpected, the best would be a minimal reproduction. If you want to debug see https://vike.dev/debug and https://vike.dev/debug#debug-flags most notably |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it expected that when you click a link and visit a page that uses nested layouts, multiple requests are sent for pageContext json?
I noticed that this only happens when you click and visit a route (that uses nested layouts) which was previously visited. On the first visit, there's only one request.
If this isn't expected, it'd be very helpful to know how I can go about debugging + addressing this. Happy to send a patch if this is being caused by vike
Beta Was this translation helpful? Give feedback.
All reactions