When you are looking for the ways to optimize the rendering of documents into HTML, one of the solutions you might want to use is the compression of the output content (HTML, CSS, and SVG). This solution is suitable in case you are providing your content from the web server over the internet. The lower the content user has to download, the faster he will see the rendered document.
GroupDocs.Viewer provides a new Minify property of the HtmlOptions class, that lets you get output content minified....Please get your Client Id and Client Secret from https://dashboard...place Client Id in "client_id" and Client Secret in "client_secret"...