Html3Pdf many image requests

57 views Asked by At

I'm using htm3pdf library and I'm downloading html string with some divs with images (svg and png/jpg). When I wait for the download, I can see that the network tab is full with repeating image requests and they are slowing down the generation. enter image description here

My question is: is there a way to prevent all these repeating requests that are slowing down the download?

*im using jpg links and base64 representation for the svg images, even tho the repeating requests are for both cases. enter image description here

I tried every single option for the pdf from the documentation https://socket.dev/npm/package/html3pdf and everything else.

0

There are 0 answers