- This topic has 4 replies, 2 voices, and was last updated 3 years, 10 months ago by Leo.
January 28, 2020 at 8:28 am #1147216Matthias
I have a strange issue that I do not seem to find a solution for.
We have moved many pages away from X-Theme and use Generatepress now.
On the sites with generatepress the performance is excellent with regards to speed.
Kindly check https://heilfasten-portal.com/fachartikel-fasten/heilfasten-grundlagen-fastenkur.html as an example.
After visiting the page you can continue on using the webpage at the same speed.
However: If you accept the GDPR message at the bottom of https://heilfasten-portal.com/fachartikel-fasten/heilfasten-grundlagen-fastenkur.html (it is a consent for YouTube cookies) the page will be slow from now on. Actually the whole website becomes slow: Even pages, where YouTube does not run. Very often Chrome “is waiting for cache” for couple of seconds.
Now: If I do the same thing on the X-Theme websites e.g. https://diegesundheitsblogger.com/arbeitsbeispiele/ where you accept the GDPR message at the bottom, there are no slowdowns after that. You can use the site normally.
Any idea what is causing this? Any help would be highly appreciated,
MattJanuary 28, 2020 at 2:27 pm #1147568LeoStaffCustomer Support
This sounds like a very strange issue.
Have you disabled the GDPR message on the page you’ve linked? I’m not seeing it.
It’s possible that I’m missing something as the site isn’t in English.
Are you using a plugin for the GDPR message? What happens if you switch to another plugin?January 28, 2020 at 9:42 pm #1147746Matthias
as we are very strict on cookie usage (and not use e.g. tracking cookies) we do not (have to) use a cookie bar. Information in the data protection section is enough.
The only consent cookie that we use is YouTube (using this plugin: https://wordpress.org/plugins/youtube-embed-plus/)… The consent message is there, where the video is supposed to be. It looks like a black box, white letters with a red confirmation button in the post (not a bar at the bottom).
The only alternative we have is to install e.g. borlabs cookies and have the consent bar and blocking features of YouTube. We don’t want that, as it works perfectly fine like this.
All the best,
MattJanuary 28, 2020 at 10:29 pm #1147769Matthias
I researched it further. I think I know the cause: As soon someone accepts the YouTube Cookie, the page is no longer cached.
This is intended behaviour, as otherwise YouTube videos won’t play any more on mobile view. Now: As it seems the speed gained by WP Rocket on Generatepress is higher then on X Theme. Hence you feel the difference so much…
I will look for a workaround to keep the site cached while having a consent message on YouTube.
MattJanuary 29, 2020 at 9:06 am #1148400LeoStaffCustomer Support
Glad you’ve figured out 🙂
- You must be logged in to reply to this topic.