What are recommendations about large documentation site? #2887
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, I've got the same question for my site with 321 pages generated (my repo is public). What are your recommendations @Mister-Hope? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Emm, technically speaking, due to VuePress architecture, it has to keep all page data in memory while building, and an extra page means an extra 10-30MB memory. If you are sensitive with memory, you can try VitePress, it does not have plugin system, and the page data is extracted from markdown content through Vite plugins during dev/build directly, meaning only current page data is available in the application, so it's much faster and take less memory. However it has a strict limitation that you can not access anything besides site config, theme options and current page data by default, making a lot of feature unavailable like structure sidebar. getting title and icons from links and so on. So the choice is up to you. VuePress VS VitePressTarget
Start up, dealing pages and resolving routes
SSG (Rendering static pages)
|
Beta Was this translation helpful? Give feedback.
Emm, technically speaking, due to VuePress architecture, it has to keep all page data in memory while building, and an extra page means an extra 10-30MB memory.
If you are sensitive with memory, you can try VitePress, it does not have plugin system, and the page data is extracted from markdown content through Vite plugins during dev/build directly, meaning only current page data is available in the application, so it's much faster and take less memory. However it has a strict limitation that you can not access anything besides site config, theme options and current page data by default, making a lot of feature unavailable like structure sidebar. getting title and icons from links and so on.