Skip to main content
Participant
July 22, 2021
Question

Load Issues/White Pages and external document location possible?

  • July 22, 2021
  • 1 reply
  • 608 views

Two Questions:

1. We're having load issues.  Slow to load and we get white pages that EVENTUALLY go away. 

- Any ideas from power users for speeding up the loading time because of the white/blank page on load issue?

 

2. We considered having the pdf live on our AMAZON S3 instead of on the site, but that's not working.  Is there a way to have a document that lives somewhere else appear on the site?  If so, would this solve our loading/white page issue?

This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
July 23, 2021

Are you referencing the PDF content by URL or a Promise?

rabellcomAuthor
Participant
July 26, 2021

URL

Joel Geraci
Community Expert
Community Expert
July 26, 2021

In almost every case, I recommend using fetch to get the PDF content first, then pass it to Embed API as a Promise that resolves to a Byte Array. That should help with both questions 1 and 2. For #2, be sure you have CORS set up properly on the bucket to allow your files to be loaded from S3.