3D FlipBook - Loading long time

g***n@touchpros.com
2020-06-09
2020-06-10

I have successfully tested the demo version, but the loading is taking a long time between pages. My options are below. Does the paid version load faster? We are all set to make the purchase but the speed is too slow for us to currently use it. It is a windows 10 machine, running it in an exe that uses IE 11 on a local IIS. The pdf is 20Mb, 84 pages.

bookOption = {              
                    pdf: 'CpageImages/' + bookName,
                    propertiesCallback: function(props) {
                      props.page.depth /= 4;
                      props.cover.padding = 0.002;
                      return props;
                    },
                    cachedPages: 10,
                    pages: 10, // amount of pages
                    controlsProps: {                      
                      actions: {
                        cmdSave: {
                          enabled: false
                        },
                        cmdPrint: {
                            enabled: false
                        },
                        cmdFullScreen: {
                            enabled: false
                        },      
                        cmdSmartPan: {
                            enabled: false,
                            active: true
                        },                      
                        cmdSinglePage: {
                            enabled: false,
                            active: false
                        },      
                        cmdSounds: {
                            enabled: false,
                            active: false
                        },      
                        cmdStats: {
                            enabled: false,
                            active: false
                        },  
                        cmdLightingUp: {
                            enabled: false
                        },  
                        cmdLightingDown: {
                            enabled: false
                        }                       
                      }
                    },                  
                    template: {
                      html: 'Scripts/pdfflipbook/templates/default-book-view.html',
                      styles: [
                        'Scripts/pdfflipbook/css/black-book-view.css?v=1.0'
                      ],
                      links: [{
                        rel: 'stylesheet',
                        href: 'Styles/font-awesome/css/font-awesome.min.css'
                      }],
                      script: 'Scripts/pdfflipbook/js/default-book-view.js',
                    },
                    styleClb: function () {
                        $('.fb3d-modal').removeClass('dark').addClass('light');
                    }          
                }

Replies

a***r@3dflipbook.net
2020-06-10
2020-06-10

Try to optimize PDF for web https://www.ilovepdf.com/compress_pdf Document can be bad structured, then the plugin has to fetch all file instead of requested pages. Also check do support your web server partial content or not.

Log In to leave a comment