Skip to content

What are recommendations about large documentation site? #2887

Closed Answered by Mister-Hope
conduent-teamvad asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@conduent-teamvad
Comment options

@Mister-Hope
Comment options

@Mister-Hope
Comment options

@conduent-teamvad
Comment options

Answer selected by Mister-Hope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants