Hi,
We too use LiteSpeed on our live and demo server and have no issues.
This is not common so there are no documentation required.
Does this occur on only one PDF or is it persistent with other PDFs too?
There was one edge case specific to o2Switch hosting. But even on their server this was not a sure shot issue. Are you using them?
Best Regards,
DearHive
Hi,
Thank you for your reply.
This occurs with other PDFs as well.
I use o2switch as my hosting provider.
Best regards,
Benoit
Hi,
I’m writing to you again as I didn’t get a reply to my last message. Do you have a solution for me?
Best regards,
Benoit
Hi @nomadeaevasion ,
We do not have solution for this case. The only workaround is to disable LS cache for pdf files.
Best Regards,
DearHive
Hi @dearhive
Could you tell me how to do it? In the exclusion rules, I added “.pdf$” to “Do not cache URIs” but it didn’t work.
Thanks for your help 😀
Best regards,
Benoit
Hello,
I’ve excluded the PDF file (/wp-content/uploads/2024/03/carnet-demo-ouest-americain.pdf) from caching but it doesn’t work. What solution do you suggest?
Best regards,
Benoit
Hi,
After many iterations we landed on some clues.
After some research and test, there is in htaccess the line written by LS cache when Browser cache is active : ExpiresByType application/pdf A31557600
When I set this to 0 (ExpiresByType application/pdf A0), cache is no more active for PDF and it works in partial loading.
Try setting the ExpiresByType value to A0
View post on imgur.com
Best Regards,
DearHive
-
This reply was modified 2 years, 1 month ago by
DearHive.
Hi,
Thank you very much for your feedback. I followed your instructions and it seems to work perfectly! Great!
Best regards,
Benoît
Hi,
Happy to know it worked and solved the issue. 🙂 Apologies for taking longer to find a solution since this was a edge case and tricky to replicate.
Have a good day!
DearHive
P.S. When you have free time, feel free to leave a review and help us grow. It means a lot to us 🙂
https://ww.wp.xz.cn/support/plugin/3d-flipbook-dflip-lite/reviews/#new-post