Skip to content
DearFlip WordPress
  • Plugins
    • WordPress Flipbook
    • JS Flipbook
    • Joomla Flipbook
  • Demos
    • Embedded Example
    • Popup Examples
    • Online PDF Viewer
  • Pricing
  • Docs
  • Support
  • Account
  • Blog
DearFlip WordPress
  • Plugins
    • WordPress Flipbook
    • JS Flipbook
    • Joomla Flipbook
  • Demos
    • Embedded Example
    • Popup Examples
    • Online PDF Viewer
  • Pricing
  • Docs
  • Support
  • Account
  • Blog

Getting Started

  • Getting Started – Quick
  • Installation
  • Create 3D Flipbooks
  • Create Spiral 3D Flipbook (Pro)
  • Create Hybrid 3D Flipbook (Pro)
  • Create PDF Viewer/Reader
  • Create Slider Viewer

Organizing Flipbooks

  • Organizing Flipbooks
  • Multiple Flipbooks in a page
  • Using Categories
  • Using Book Shelf (Pro)
  • Sort Flipbooks (Pro)
  • Open Flipbook with custom buttons & elements(PRO)

Features & Settings

  • Selective Script Loading
  • Features & Settings – Quick
  • Google Analytics(PRO)
  • Settings
  • Shortcode-options

Customizations

  • Customizing Layout / Controls (look)
  • Customizing Buttons
  • Customize popup thumb
  • Customize Page/PDF Links
  • Turn off Zoom on mouse scroll
  • Remove or change Download button
  • Remove Share Button
  • Open Book at certain page
  • Open Flipbook in New Tabs

FAQs

  • Icons are missing?
  • PDF not Loading!
  • PDF loading is slow!
  • Fullscreen Faqs
  • General FAQs & Issues
  • Flipbook loading issue
  • Change Log

Presale, Purchase & License

  • Purchase & Licensing / Upgrading
  • Free(Lite) vs Premium Comparision
  • License Utilization
  • License Activation issues
  • How to Change Invoice details
View Categories
  • Home
  • Documentation
  • FAQs
  • PDF not Loading!

PDF not Loading!

1 min read

PDFs will load slowly due to various reasons. A big size will take longer to download, improper encoding will disable various loading feature. We have pointed out some of the major issues that can be resolved to make loading faster.

1. Cross Origin (CORS) #

This occurs when the file and page are in HTTP and https mixed protocol. This is a result of improper https redirection. We recommend using a proper setup to redirect every HTTP request to https to avoid any conflict.

If you are using the file from another domain, make sure you have proper CORS setup done in another domain. For Apache Server, add following lines in .htaccess file

Header set Access-Control-Allow-Origin "*" 
Header set Access-Control-Allow-Headers "Range" 
Header set Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"

More Info: https://enable-cors.org/server.html

NOTE: PDF files from online file-sharing servers like Google Drive, One Drive, Dropbox cannot be configured for CORS access. They won’t allow it.


2. Bad End Offset #

This can occur when there is cache issue with browser and server. In such cases disabling cache is advisable.

Known occurrences with:

  1. nginx and Chrome browser.
  2. o2Switch hosting that uses LightSpeed caching.
<IfModule mod_expires.c>
ExpiresByType application/pdf "access plus 0 seconds"
</IfModule>
Still stuck? How can we help?

How can we help?

Updated on July 19, 2024

Leave a Comment Cancel reply

Table of Contents
  • 1. Cross Origin (CORS)
  • 2. Bad End Offset

Links

  • Terms and Conditions
  • License Terms
  • Privacy Policy
  • Browser Test

Recent Posts

  • (no title)
  • Protected: Flipbook in a password page
  • Case Study: Open PDF File links as Flipbook
  • Transparent background example
  • Multiple Embeds in a Page

Products

  • DearFlip 3D Flipbook JS Plugin
  • DearFlip 3D Flipbook WordPress Plugin
  • DearFlip 3D Flipbook Joomla Plugin
  • Online PDF Viewer
  • DearFlip PDF Flipbook for Chrome
  • Mashshare Social Sharing WordPress plugin
© 2026 | A product of DearHive.com