We have a report that generates about 320 dynamic requests to an http server to return back images. We were unsure if there was a limit on the number of http requests that can be made simultaneously in Prince.
When we loaded the image data upfront we had a report generation time of about 2 minutes. But now that we are making the http requests through the <img> tags the report generation time increased to about 7 minutes.
Is there any way to increase the speed on making the requests to get the images?
We have a new feature in development that will allow Prince to make multiple concurrent HTTP requests, this should save a lot of time. It will be ready in a couple of weeks.
Another option is to use a caching HTTP proxy, and make Prince issue requests through that.
Thank you. We will be trying to get it upgraded this week and will let you know how it goes. Is there any release notes we can get or is the parallel downloads the only thing that is current built into this alpha package?
Yes, multiple parallel downloads are enabled by default, with 6 resources retrieved at a time. You can increase or decrease this with the --prefetch-threads option, or disable it entirely with --no-parallel-downloads.