Stream large PDF files from SharePoint

I have a client who wants to store large PDF files (> 700 MB) in SharePoint 2013. The problem is that viewing PDF currently requires downloading the entire PDF file before displaying the first page. I need the browser to display each PDF page as it loads, which I think Adobe calls “Fast Web View” or “Byte Streaming”. Here is what I know:

  • Quick Internet Browsing is included in the PDF document in the Document Properties window.
  • I can verify that the PDF is linearized by reading the contents of ASCII.
  • I checked the PDF reading options from the PDF feature.
  • The client has SharePoint 2013 installed by default.
  • SharePoint file processing is configured to allow.
  • I have confirmed that PDF is a valid type of AllowedInlinedownedMinme web application.

Anything else I have to check or configure?

+5
source share
2 answers

It’s not enough if the PDF files are linearized (technical term in PDF format) or optimized for quick browsing on the Internet (marketing term for this function).

Two conditions must be met before using end-user quick web browsing:

  • The PDF viewer should be able to use the linearized / optimized functions of the PDF file.
  • the remote host serving the PDF (in this case, SharePoint) must be properly configured in order to draw “byte range requests” from the viewer, so downloading fragments of the PDF file can be delivered “out of order”.

Nonetheless,...

  • ... I do not know if SharePoint servers generally support the second requirement;

  • ... if SharePoint is not a problem, you may need to check which PDF viewer is really used in this environment (test it with Adobe Reader), which certainly uses the linearized PDF functions).

See also this answer to the question from today, which contains a few more technical details:

+3
source

The employee identified the problem after comparing the download from SharePoint to the site of the working site using WireShark. The SharePoint site did not include Byte Ranking in the response headers. To enable this feature in SharePoint, you need to enable BlobCache. Beware, BlobCache is not supported in SharePoint funds.

0
source

All Articles