Reputation: 307
Mashery IOdocs is a really a great tools for documenting API. I'm using it for a quite big project with more then 50 methods and complex structures sent to this API, so that my json config file is more than 4000 lines long. I self-host IOdocs on a VPS along with other stuff and the doc is awfully slow because of my long json file. Any idea to cope with this latency ? Except obviously split my json config file into several.
Upvotes: 0
Views: 82
Reputation: 2393
I have a fork of IO Docs with some performance improvements which may help. In this instance they involve stripping out json-minify (which is only used to allow comments in the source specifications), server-side cacheing of the specifications and not having to load the specification via a synchronous AJAX call on the client.
Upvotes: 0