Skip to content

Disable SSR Config Option #10861

Answered by slorber
trevor-moore-dev asked this question in Q&A
Jan 23, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@trevor-moore-dev we have implemented something similar called Hash Router to build your docs for offline distribution, that you can browse simply by clicking a file:///my-website/index.html file on your FS.

It doesn't do SSG, and only renders on the client, so will build faster. However, the SSG phase of your site is likely not the most expensive part of your build: it's usually the bundling phase, that still needs to happen.

Related: I'm in the process of optimizing the SSG phase (#10826), I would be curious to know how long SSG takes for your site, and if possible benchmark against it to see the impact.

(you can see perf log times for each major step with DOCUSAURUS_PERF_LOGGER=true ya…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@trevor-moore-dev
Comment options

@slorber
Comment options

slorber Jan 23, 2025
Collaborator

@trevor-moore-dev
Comment options

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