It is taking very long time / browser hungs when I convert a large content (~25MB in HTML) to PDF.
While troubleshooting, tried saving the HTML content from browser to PDF, even this takes longer duration.
My original thought was to add a long timeout to the server action.
You could look at creating a BPT process which is triggered by your action, but will process it seperately?