Offline documentation too large #8253
Replies: 1 comment 1 reply
-
Hello @AtlanticClaire, To expand on the previous idea, maybe there's an option to use an iframe pointing to a file which contains the navigation tree and using JavaScript to synchronize what entry is highlighted. Also how many files are we talking about? 12GB at lets say 2MB per HTML file is ~6000 pages. With such a number I would reconsider if every user needs the same offline documentation or if it can be be split up into submodules for categories. Similarly to how I'm assuming the 12GB is raw data, how much is it zipped? Are you using a minification plugin? I doubt that there is a good general approach for this, and will likely require something custom catered to the target audience. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When building an offline version of our documentation, I realized that it is very large (12 GB and larger). Such a size is a showstopper because our users do not accept such large offline offline documentation.
The main reason for the size is that the navigation structure is part of every page, which is a systemic problem of static site generators. Pruning is only of limited help because we have a flat navigation structure and for efficient pruning a deeper tree structure would be necessary, i.e. even with pruning the resulting size is still too large.
Has anyone had similar experiences? If so, how did you solve the problem?
Many thanks in advance for sharing your experiences!
Beta Was this translation helpful? Give feedback.
All reactions