Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Maximum project size? #164

Closed
brianhorakh opened this issue Nov 27, 2014 · 3 comments
Closed

Maximum project size? #164

brianhorakh opened this issue Nov 27, 2014 · 3 comments

Comments

@brianhorakh
Copy link

I've got a fairly large API specification and it causes the browser to lock up - anything I can do to make this go faster?

http://commercerack.github.io/apidocs/

@rottmann
Copy link
Member

Have no problem to open it, only loading time take 7 seconds.

At the moment i don't see an easy solution.
You can modify the templates main.js and remove the output of each article on load and create one article when you click a nav-point.

For huge static docs a static side generator is needed that generates different pages from the api_data.json. One more reason to separate apidoc (core) from ui.

@rottmann
Copy link
Member

If found the bottleneck, it was the rendering of the subTemplates within the template with a handlebar helper.
This helper did not cache the template and re-compile it every time.

Rendering will speed-up factor 20 ;-)

Release a new version today.

@brianhorakh
Copy link
Author

Just upgraded to version 0.90 -- wow much faster. You can consider this issue closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants