Mole
Nuxt Content Prerender takes long time
Hi! I am debugging our build pipeline which takes over 3 minutes for fairly small project (~500 components / 20ish pages).
I have noticed the following in our docker build logs:
Nitro spent 21 seconds prerendering 1 content route. Upon inspection of the generated json file, it turns our to be basically empty:
What is this prerendering doing, is it necessairly? If not, can it be disabled?
1 replies
How to debug missing `vue/server-renderer` in bundle?
I am seeing the below error when requesting any path on production (debian):
The
vue/server-renderer
is not being properly included in bundled output. This reproduces steadily on the one server and I am yet to reproduce anywhere else.
Major dependency that may cause the issue is nuxt-seo-kit
.
I am not asking to debug the issue for me, rather for an idea why server-renderer may be missing.
Question is: How to debug missing vue/server-renderer
in bundle?8 replies
`_payload.js` cache with `nuxi generate`
Hey! Is there a way to bust cache of
_payload.js
when using static generation approach?
I am using @nuxt/[email protected]
and [email protected]
. When updating content and regenerating website (nuxi generate
) the server-served HTML is properly using new content, but it instantly gets replaced by outdated _payload.js
.
The website is served with nginx behind cloudflare. Both are configured with the most basic settings (no nginx cache, cloudflare default free plan).
Is it possible to bust cache in similar fashion we do with other .js
files, by adding a hash either to the filename, or as query parameter?1 replies