Is it possible to partial rendering of pdf file?

Hi Logan,

I can confirm that range requests are now working for me.

However, it seems that the initial request (with response status 200) seems to continue downloading alongside the range requests. Is this the intended behaviour? My understanding is that the first request should be canceled if range requests are initiated.

Here is a screenshot demonstrating the current behaviour.

Whereas this is a screenshot of how PDFTron handles it, which is more like what I would expect.

Also I noticed that PDFTron’s inital request recieves a 206 response instead of 200. Likely due to the presence of the range header on that initial request.

PDFTron inital request
image

PDFjs Express inital request
image

Cheers, Luke.