Upon page navigation, Vike makes a pageContext.json HTTP request to your server, in order to pass data fetched on the server-side (e.g. with data()) to the client-side.
Example
The request /star-wars/index.pageContext.json returns the data fetched by the data() hook.
Avoid pageContext.json requests
If you want to minimize requests made to your server, then you may want Vike to stop making pageContext.json requests.
Most commonly, if the data you fetch comes from another server, then you typically don't want to make an unnecessary detour over your JavaScript/SSR server.
Vike makes a pageContext.json request for a page if and only if one of the two following conditions is true:
The page has a server-only data() or onBeforeRender() hook.