• Resolved jdelgadoesteban

    (@jdelgadoesteban)


    Hello, the pdf added to this page does not display, we just get LOADING message but it never finishes loading. Any help with this will be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hello there,

    I see that you are using a caching plugin. Please read this article: https://wp-pdf.com/kb/using-caching-or-minifying-plugins/

    You may need to adjust your LiteSpeed Cache plugin settings.

    Here is a quote from the article:

    This error often presents as PDFs failing to load, appearing as a link, or get stuck on loading. To rectify this error, you will need to exclude the following URIs for the plugin scripts from any caching and/or minifying tools:

    Free version paths:

    • /wp-content/plugins/pdf-embedder/js/all-pdfemb-basic-4.6.4.min.js
    • /wp-content/plugins/pdf-embedder/js/pdfjs/pdf-4.6.4.min.js
    • /wp-content/plugins/pdf-embedder/js/pdfjs/pdf-4.6.4.worker.min.js

    Please refer to the caching/minifying plugin’s documentation for specific instructions on where and how to add these script paths as these exclusions may be located in “hidden” Advanced settings options. The scripts should be excluded from aggregate / inline caching as well as general JS caching.

    Be sure to flush any caches including ones specifically for JS after you exclude the scripts so that they can be loaded by the site again and the embed viewer should be displayed correctly once this has been done.

    Thread Starter jdelgadoesteban

    (@jdelgadoesteban)

    Dear Slava, thanks for your prompt reply, that indeed fixed the issue.

    Javier

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDF not loading’ is closed to new replies.