When prerendering why are there still network requests?
I am prerendering a bunch of pages:
Why are my useFetch calls still running? Shouldn't the site be statically generated?
5 Replies
because prerendering is not client-side only rendering. A prerender still runs the page like in ssr to render the html.
I am not looking to have client side rendering. I am looking to have static generated pages. I've tried this as well with same result. @chakraecho
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
If you want to remove API calls, you need to use pre-rendering (
nuxi generate
) or opt into experimental payload extraction (experimental.payloadExtraction
or so)
Static Is "like pre-rendering" but "on-demand"Unknown User•2y ago
Message Not Public
Sign In & Join Server To View