Free Support Forum - aspose.com

Very long time for loading html-file

Hi one customer reports very long loading times (about 6 minutes), when loading an html-file in our application.
Only the following line needs this time:
HTMLDocument htmldoc = new HTMLDocument(htmlname.getAbsolutePath());
Why? Because the application is running on a server that has very restricted internet-access.
The html-file consisted of about 300 links to Internet-Ressources.
So, is there a possibility, to load an html-file with something like “disableRemoteResourcesOptions”? You have this option already for Word, described here: https://docs.aspose.com/words/java/web-applications-security-when-loading-external-resources/.
Thx, Gerd

@GerdRein

We are already working over improving the performance of Aspose.HTML for Java. However, can you please share your sample HTML file with us so that we can take it into our considerations and include it in our tests while improving the API performance?