Copy link to clipboard
I have embedded my PDF with the PDF API Script into my wordpress Website and I have the WP-Rocket Cache Plugin. I am facing two major some issues that I need to have solved.
At first, I have the API Embed Script integrated like this in the body of the website:
So I have the following issues here:
1. The PDF I am embedding won't display, when the WP-Rocket Cache Plugin is activated. I get a 404 error calling the script in the body of the DOM, together with the code that is provided by the PDF API Embed solution:
2. When the WP-Rocket Cache Plugin is deactivated, I see the PDF, BUT I get a bunch of parsing violation and error messages:
I need the Cache Plugin to improve the page speed. What should I do?
Thanks for your fast support and your time upfront.
Have something to add?