Hi @dirkliesenfeld,
I have tested your website and it seems that your non-amp version is 97 at the moment and your AMP is on 93, Will you please check again and let us know,
Ref:
Non-amp – https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.liesenfeld.de%2F
AMP – https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.liesenfeld.de%2Famp%2F
Please make sure you type the complete url address with https like this – https://www.liesenfeld.de/ and check once
The problem seems to be especially on pages, that have a YouTube-Video embedded. The YouTube-Video is lazy-loaded on both the normal and the amp-Version, but still that seems to be the problem.
Please help me to find a solution to this problem, or else I have to uninstall this plugin, because it is hurting my pagerank 🙁
I am ready to assist you in testing any solutions or betas you might have 🙂
Update:
I tested with GTmetrix and every site containing a Youtube Video will get following warning:
Defer parsing of JavaScript
F (30)
JS HIGH
897.2KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.
https://www.youtube.com/yts/jsbin/player_ias_remote_ux-vfltV9ZY9/en_US/base.js (806.7KiB)
https://www.youtube.com/yts/jsbin/www-embed-player-vflkw8LKw/www-embed-player.js (87.0KiB)
https://www.youtube.com/embed/aG-DgRN9XSw?rel=0&vq=highres&hd=1&frameborder=0&modestbranding=1&showinfo=0&autoplay=0&wmode=opaque (3.4KiB of inline JavaScript)
Btw, I am using WPSuperCache and other plugins like above the fold. But they don’t affect the amp-Versions.
And I purchased your cache plugin, but it doesn’t work.
Sorry for the inconvenience, we need to check on your end regarding your issue and I really appreciate your effort and for further debugging please contact our lead developers at team@magazine3.com and there will help you in fixing your issue
Thank you – I will do that 🙂
I just sent an Email to team@magazine3.com:
Hello,
I have a problem with the loading speed of ampforwp and your collegue told me to contact you. Here are the informations so far – please read them carefully:
https://wordpress.org/support/topic/ampforwp-makes-my-site-slower/
I am ready to assist you in solving this problem, because I would really love to use your plugin, but at the moment it is simply too slow. I created an admin account in my WordPress. Please use it VERY carefully, because my site is up and running. I trust you to keep the credentials confidential.
site: https://www.liesenfeld.de/xxx/
user: xxx
email: team@magazine3.com
password: xxx
level: admin
To summerize the 3 problems I have:
1) AMP-Pages containing a YouTube-Video are getting very low pagespeed results. The non-amp-Versions are getting a value of 99.
(Screenshots and links are in the post)
2) Minimize doesn’t do anything. Sourcecode remains the same
3) Caching doesn’t do anything. Pages are not cached and speed remains the same
Problem 1) is the most important one for me.
If you need anything else, please let me know. I have total access to my server and I am skilled with php and unix. My Web-Server is running on ngnix.
I have been doing some research myself. And I think I found a clue, what could be going wrong.
Google lowers the value because of time to interactivity.
When using the non-Amp-Version of my Website, the loading of the Video is deferred, as soon as it is below the fold of the MOBILE Version.
When using the amp-Version with your plugin, Pagespeed is only deferring the loading of the Video, when it is below the fold of the DESKTOP Version!
So – as soon as I put my Videos way down on my pages, the pagespeed result will be O.K. (still lower then the non-amp-Version, but O.K.)
When the videos are too high, the value for “time to interactivity” will go up to almost 10 seconds. If the videos are really way down on my pages, the time to interactivity will go down to 2.5 seconds. This only happens with the amp-version!
Could you please pass this to the technical department? And is there a solution to these problems?
a) The fold from the amp-Version is calculated from the desktop-version, even when checking the pagespeed of the mobile version
b) your plugin getting lower results than all my pages in non-amp?
One of our team member “Talha Ansari” is debugging your issue and he will get back to you once he made any progress.
Ah, seems to be an issue with AMP itself. You need to put videos below the fold of the DESKTOP version. Otherwise insight will nag :-/