Hi,
I found a strange issue when processing big HTML files (around 16MB). Maybe it's not an issue but the way how Prince works with html and xhtml files. If so, I would like to better understand it.
So given is HTML file (*.html), 16MB in size. When I run price command to process it to PDF, it hangs on "Loading document..." for 13-15 minutes and then it generates the PDF file. The whole process takes 15-16 minutes in total in this case.
We've noticed that there are two solutions to the problem:
- changing file name from *.html to *.xhtml
- adding --input=xml flag as a command parameter
After applying any of above "fixes" the whole process doesn't hang and takes around 1 minute in total.
Could you put some more light on it?
I found a strange issue when processing big HTML files (around 16MB). Maybe it's not an issue but the way how Prince works with html and xhtml files. If so, I would like to better understand it.
So given is HTML file (*.html), 16MB in size. When I run price command to process it to PDF, it hangs on "Loading document..." for 13-15 minutes and then it generates the PDF file. The whole process takes 15-16 minutes in total in this case.
We've noticed that there are two solutions to the problem:
- changing file name from *.html to *.xhtml
- adding --input=xml flag as a command parameter
After applying any of above "fixes" the whole process doesn't hang and takes around 1 minute in total.
Could you put some more light on it?