Hello,
I am developing a sort of web application, which runs on Sharepoint, therefore GAC; that converts documents to PDF as a basic feature using Aspose. This convertion are done via a handler(ASHX).
The problem is that the first time the application runs(like after GAC deployment) it takes quite some time to convert a simple file. This doesn’t happen just once though, but rather every time a different product is used. Let me give you a concrete scenario. File sizes are pretty much the same.
These happen sequentially:
file.doc (about 8 seconds)
file2.doc (1 second)
file3.doc (1 second) and so on
file.ppt (about 8 seconds)
file2.ppt (about 1 second) and same scenario
same scenario with aspose.cells, aspose.diagram etc.
I have tried to create a dummy instance of document/worksheet/etc. for each product when the application is first deployed; and even converting them to PDF into a dummy stream. However, it only saved a couple of seconds.
It is a bit trivial issue, but it would be good to get rid of. How can I avoid this?
Thanks,
Natan