Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PDF Embed Incredibly slow

Participant ,
Sep 07, 2023 Sep 07, 2023

PDF Embed SDK has changed with Full_Window implementation where PDF is incredibly slow to load. It used to load hundreds of pages immediately using URL, but now via network tab it is loading a bunch of images every time you scroll to a different part of the document.

 

Also,

there is a new "Loading" indicator here

Garrett28259082qfbf_0-1694112340661.png

2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 07, 2023 Sep 07, 2023

@Raymond Camden this was a big breaking change to our app

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2023 Sep 07, 2023

got a link to where i can see this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2023 Sep 07, 2023

i just uploaded a 250+ page PDF to the Embed playground and I could see no slowdown.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 07, 2023 Sep 07, 2023

Messaged you loom video privately

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 07, 2023 Sep 07, 2023

I can see what you mean - but am unable to reproduce. Could you also share that PDF to me privately? Instead of DM here on the forums, just email me jedimaster@adobe.com.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 07, 2023 Sep 07, 2023

The same pdf is working fine on our NextJS marketing site, but using a Blazor Server-side app it's not

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 08, 2023 Sep 08, 2023

Than it's possible the issue is on your side, right? Are you streaming the PDF data to Embed perhaps and Blazor is doing it slowly?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 08, 2023 Sep 08, 2023

I pass the PDF viewer a URL, it should only be happening client side

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 08, 2023 Sep 08, 2023

That's fair, but if the client side code is (roughly) the same and the difference is your server, wouldn't it make sense it's something on your server? You say you pass the URL to PDF. If you open the PDF directly in a tab, the one loaded via Blazor, perhaps its loading slowly there.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 08, 2023 Sep 08, 2023

Garrett28259082qfbf_0-1694190688813.png

Seeing a lot of cancelled requests when its loading

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 08, 2023 Sep 08, 2023

It's only one PDF, i emailed you the copy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 08, 2023 Sep 08, 2023
LATEST

Unfortunately, unless you can set up something I can test publicly, maybe sit up a Blazor app in a public way, I won't be able to reproduce this. I don't want to 100% blame the server, but we need a way to reproduce this. I'm just not seeing any issues via our Playground and large PDFs.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 07, 2023 Sep 07, 2023

I don't, it's behind auth0.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Sep 07, 2023 Sep 07, 2023

Let me record

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources