- Joined
- Apr 23, 2019
- Messages
- 214
- Likes
- 168
- Degree
- 1
For one of my projects, I found that implementing some specific iframes would be a great benefit to my end-user.
Unfortunately, this led to some page speed drops, according to page speed insights.
I found this script that helped me a lot. I'm sure it will be useful to other people. I would advise you to download the script yourself, and modify it for your use, rather than use the link I gave.
Unfortunately, I haven't been able to modify it so that the images would get "clicked" after everything else is loaded and Google is no longer looking at performance. My idea was: use images until everything is loaded, and then go through the iframes on the page and just load the iframes 1 by 1 while the visitor is reading the article.
After a day of trying to get it to work, I decided fuck it. My page speed is still in the high 90s, even without the script.
This is what I tried to fix on page speed insights (came purely from the iframe):
It feels like a lost opportunity, but I can't spend all my time on this. Content has to flow. Marketing has to be done!
Hope it helps somebody else. And if you do find a way to make it work, I would love to know!
Unfortunately, this led to some page speed drops, according to page speed insights.
I found this script that helped me a lot. I'm sure it will be useful to other people. I would advise you to download the script yourself, and modify it for your use, rather than use the link I gave.
Unfortunately, I haven't been able to modify it so that the images would get "clicked" after everything else is loaded and Google is no longer looking at performance. My idea was: use images until everything is loaded, and then go through the iframes on the page and just load the iframes 1 by 1 while the visitor is reading the article.
After a day of trying to get it to work, I decided fuck it. My page speed is still in the high 90s, even without the script.
This is what I tried to fix on page speed insights (came purely from the iframe):
It feels like a lost opportunity, but I can't spend all my time on this. Content has to flow. Marketing has to be done!
Hope it helps somebody else. And if you do find a way to make it work, I would love to know!