Is it possible to speed up redeploy in v3? #3395
Replies: 1 comment
-
|
With The options are mostly architectural:
For an Nginx-served static site, changing one markdown file still means the generated HTML/search/navigation payloads may need to change too. Navigation, search indexes, previous/next links, tag pages, and listing pages can all depend on more than the single file, so a safe incremental generator has to understand that dependency graph. If redeploy time is the main pain, I would first measure whether the time is spent in content parsing, prerendering routes, image processing, or CI install/build setup. The best fix depends heavily on which phase dominates. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a website with ~1,000 markdown files. I use
nuxt generateto create a static site and serve it with Nginx. The problem with this approach is that changing a single Markdown file or anything else requires regenerating all the files, which takes a long time. Is there a way for nuxt generate to cache files and only regenerate the ones that have changed? Or, if only the Markdown files have changed, is it possible to update them in a database without having to regenerate everything?Beta Was this translation helpful? Give feedback.
All reactions