Hi,
I originally was very happy with this wordpress plugin. I decided to use it after an extensive research, having compared functionality with some other plugins.
But, unfortunately, for some months now, we do get only very big pdfs. The delivering agency says that it would already be the smallest possible PDF size that makes sense to show everything well (which I don´t really believe to be honest).
But from 3D FlipBook side, what could I do to optimize loading times?
The site ist https://www.swarovski-betriebsrat.at/
Best regards and thank you in advance Markus
Hi, you can always use https://www.ilovepdf.com/compress_pdf to compress your pdf. If PDF has heavy images it will be loading slowly any way.
Ok, thank you - i already found some online compressor tools before (also ilovepdf). But it´s never more than minus 25 % file size. So a 18 MB file is always too heavy. And as you say: with heavy images included it will always load slowly.
Also disable gzip for PDF in .htaccess file:
read more: https://stackoverflow.com/questions/9249243/how-to-disable-apache-gzip-compression-for-some-media-files-in-htaccess-file
I am using this, shouldn´t this be ok then? Or is this something different?
IfModule mod_deflate.c
filesMatch ".(js|css|html|php)$" SetOutputFilter DEFLATE
(sry, I tried to use the correct code, but I have no clue about the markup to mark code)
Your server sends pdfs in gzip now. You need to disable gzip for pdfs, this will let the plugin to fetch only requested pages.
Ok, I put that command in .htaccess and it works, no more gzip content-encoding for that pdf file. The cover page is shown quite fast (in comparison to before), but all the other pages are still taking very long.
the next step: optimize PDF pages: no heavy objects, images only in the right resolution (instead of a huge image and then scale it to the right size). You noticed that the first page is fast, but if you go 4-5, they are slow, because contains heavy objects, even on local server they renders very slowly. After extreme compression it is a little better.
it seems, like the single pages of the pdf are requested with status code 206 (partial content). so this is also optimizing flip book page load times, isn´t it?
Yes, that's why you need to disable gzip.
I see, thx a lot!
Would the PRO version improve performance?
there are some additional settings that can help a little.