Archived topic
First Contentful Paint and Time to Interactive
5 replies · Started by Chloe on March 23, 2021
Hi there
I am just trying to fix a couple of final issues on my page speed.
One is the FCP. I think there may be an issue with the webfont load and it gives this as the possible saving: …fonts/generatepress.woff2? Is there something I can do about this?
With the TTI? Is there anything that I can do to improve this on mobile? It is fine on desktop.
My scores are good, but just want to make sure that none of my core web vitals are in the orange.
I have put details in the private box.
Many thanks in advance.
Chloe
Hi there,
the .woff issue is a weird false positive that happens on some server setups. Simple fix - go to Customizer > General and change the Icon Type to SVG.
TTI will be increased if you're deferring any Javascripts that have any eventListeners attached to them ( ie. has a user input event ).
Hi David
Thanks for this.
That worked with switching to SVG.
Thanks for tip with TTI as well. If I find the javascript that has eventListeners and then exclude from WPFC hopefully this will work? Do you have any tips on how I can find this. Appreciate that it is probably not a GeneratePress issue, so no worries if not.
Thanks.
Chloe
Hard to see when the scripts are being combined and minified by the Cache plugin.
What i can see, if your right click and inspect the page to open developers tools there are several Red Errors in the Console.
The first 2 are scripts related to RSWidgets.
If you look in the Source you can see this:
https://www.screencast.com/t/7Ui2N3kY
Looks like these two scripts should not be deferred:
<script defer src="https://www.reviewsolicitors.co.uk/widget/rs.js"></script>
<script defer src="https://www.reviewsolicitors.co.uk/widget/rs.js"></script>
Not sure if thats impacting TTI but you should fix those errors first.
Hi David
Thank you for this. It's great. I have now removed both this widget and the Trustpilot widget and it had reduced the TTI to an acceptable level. I will write to ReviewSolicitors and let them know. I looked up on Trustpilot about what they say about this and they say that this doesn't effect things and that it is other things that are causing the issue, but it only cleared the problem when I removed their widget. My concern is that with the core web vitals update coming this is quite a big issue. However my understanding isn't great on this subject.
Thank you very much for your help.
Chloe
Glad to be of help :)
You may want to double check if its the caching/optimizations plugin that is causing the issue - they may be adding the defer attributes ( not sure on this ) - but you could simply disable the optimization plugin temporarily and check to see of those errors appear in the console.