Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Core Web Vitals to affect Google rankings May 2021
philwareham wrote #328592:
In case you weren’t aware, core web vitals will start affecting your site SEO around May this year. Now would be a good time to get your site’s performance up to scratch.
Does the ranking depend on the front page of a website only, or does G considers the performance of individual pages / section for this ?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Core Web Vitals to affect Google rankings May 2021
phiw13 wrote #328654:
Does the ranking depend on the front page of a website only, or does G considers the performance of individual pages / section for this ?
I guess that as the traffic from google is organic, it considers the performance of the particular webpage returned in their search results.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
bici wrote #328607:
so what does this all mean for us plebes? do we need to care?
I just did some tests, and sites can go up from 40s or 50s, to the high 90s if loading="lazy" is added to the images (and their thumbnails). I understand that this will be one of the added features in the next txp update, unless of course I am mistaken. It would be nice if this feature has its setting to true by default as it will save a lot of time for many people… including the visitors.
Today I have spent 4 hours updating all the txp:image tags in the articles of one of our subdomains.
I first amended my figure shortcode to the one below, and then went through all instances and changed txp:image id="##" class="my class" to txp::figure ...
<txp:if_yield name="id">
<txp:images id='<txp:yield name="id" />'>
<txp:if_yield name="caption">
<figure itemscope itemtype="http://schema.org/ImageObject" <txp:if_yield name="class"> class="<txp:yield name="class" />"</txp:if_yield>>
<txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><img src="/images/<txp:yield name="id" /><txp:image_info type="ext" />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" title="<txp:image_info type="alt" />" alt="<txp:image_info type="alt" />" loading="lazy" /><txp:if_yield name="url"></a></txp:if_yield>
<figcaption><txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><txp:yield name="caption" escape="tidy,textile" /><txp:if_yield name="url"></a></txp:if_yield></figcaption>
</figure>
<txp:else />
<txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><img src="/images/<txp:yield name="id" /><txp:image_info type="ext" />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type="alt" />" class="<txp:yield name="class" />" loading="lazy" /><txp:if_yield name="url"></a></txp:if_yield>
</txp:if_yield>
</txp:images>
</txp:if_yield>
The images loaded from the pages templates were of course updated without any sweat.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
I’ve done massive work on Textpattern.com’s family of official sites this week to get their performance as good as I can. Getting Lighthouse scores of 97/100 on mobile and 100/100 on desktop in Chrome. Pretty happy with that.
I’m not a huge fan of above the fold inline CSS though, so I doubt I’ll ever achieve a 100/100 on mobile.
Big thanks to Pete as well for tweaking the server multiple times at my request.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
colak wrote #328823:
I understand that [loading=“lazy”] will be one of the added features in the next txp update
It’s already in Txp 4.8.3 :) But it’s off by default so you need to add loading="lazy" to your <txp:image> tags.
One thing we might do is allow <txp:images> to take the attribute and then ‘pass it on’ to all its container tags, but that involves global variables which we’re trying to cut down so it might wait until (if) we refactor the tag registry.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
Re: Core Web Vitals to affect Google rankings May 2021
philwareham wrote #328825:
I’ve done massive work on Textpattern.com’s family of official sites this week to get their performance as good as I can.
Holy speedcakes! That’s impressive work, gentlemen. Thank you so much.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Online
Re: Core Web Vitals to affect Google rankings May 2021
philwareham wrote #328825:
I’ve done massive work on Textpattern.com’s family of official sites this week to get their performance as good as I can. Getting Lighthouse scores of 97/100 on mobile and 100/100 on desktop in Chrome. Pretty happy with that.
I’m not a huge fan of above the fold inline CSS though, so I doubt I’ll ever achieve a 100/100 on mobile.
Big thanks to Pete as well for tweaking the server multiple times at my request.
The site returns excellent results. I do not believe in the 100% except for the consciously minimal
Bloke wrote #328826:
It’s already in Txp 4.8.3 :) But it’s off by default so you need to add
loading="lazy"to your<txp:image>tags.One thing we might do is allow
<txp:images>to take the attribute and then ‘pass it on’ to all its container tags, but that involves global variables which we’re trying to cut down so it might wait until (if) we refactor the tag registry.
Holy tagamole. I did not know that. It would have saved me 20 minites of work today. I remember it discussed in the forum but I had no idea it was already implemented. Having said that. I should have checked the docs.
Is there a reason you do not have loading="lazy" on by default? I can understand about backward compatibility but I can not think of a situation that it can break anything.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
philwareham wrote #328825:
I’ve done massive work on Textpattern.com’s family of official sites this week to get their performance as good as I can. Getting Lighthouse scores of 97/100 on mobile and 100/100 on desktop in Chrome. Pretty happy with that.
Excellent!
I’m not a huge fan of above the fold inline CSS though, so I doubt I’ll ever achieve a 100/100 on mobile.
Echo that!
The other two common recommendations I’m not keen on are:
- Providing even more interim
srcsetsizes to get a few bytes benefit at certain viewport widths. - Using a CDN for sites that have a predominantly local audience. Surely recommending duplication of content across servers across the world results in huge increases of energy consumption. A German-language site specific to German users does not really need optimal loading speed in Australia.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Core Web Vitals to affect Google rankings May 2021
So… I’ve changed the “above:https://forum.textpattern.com/viewtopic.php?pid=328823#p328823” to:
<txp:if_yield name="id">
<txp:images id='<txp:yield name="id" />'>
<txp:if_yield name="caption">
<figure itemscope itemtype="http://schema.org/ImageObject" <txp:if_yield name="class"> class="<txp:yield name="class" />"</txp:if_yield>>
<txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><image loading="lazy" /><txp:if_yield name="url"></a></txp:if_yield>
<figcaption><txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><txp:yield name="caption" escape="tidy,textile" /><txp:if_yield name="url"></a></txp:if_yield></figcaption>
</figure>
<txp:else />
<txp:if_yield name="url"><a href="<txp:yield name="url" />"></txp:if_yield><image loading="lazy" /><txp:if_yield name="url"></a></txp:if_yield>
</txp:if_yield>
</txp:images>
</txp:if_yield>
The beauty of short tags!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
colak wrote #328828:
Is there a reason you do not have
loading="lazy"on by default? I can understand about backward compatibility but I can not think of a situation that it can break anything.
Because we can’t assume that people want lazy loading on by default – that’s too opinionated. For example, if you use a JavaScript carousel on your site then there can be issues because the script needs to know the intrinsic dimensions of the images to do its maths. If the image is lazy loaded (and you haven’t specified a width and height attribute) then this can be problematic as the script won’t know about the image dimensions. Better to let users define how their images load – we just provide the tools to do it.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
jakob wrote #328829:
Excellent!
Echo that!
The other two common recommendations I’m not keen on are:
- Providing even more interim
srcsetsizes to get a few bytes benefit at certain viewport widths.- Using a CDN for sites that have a predominantly local audience. Surely recommending duplication of content across servers across the world results in huge increases of energy consumption. A German-language site specific to German users does not really need optimal loading speed in Australia.
Totally agree.
More than two (or three at a push) images then the work outweighs the gain.
If you have a German-centric site and the nearest server farm for your chosen CDN is in London, you could have worse performance by choosing the CDN over server the files locally.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
jakob wrote #328829:
Using a CDN for sites that have a predominantly local audience. Surely recommending duplication of content across servers across the world results in huge increases of energy consumption.
An aside: on that front, I’m intrigued to read what the new AbookApart volume on Sustainable Web Design might have to say about that. Only when I ask to read a sample chapter, the site says okay but I never get the link…
TXP Builders – finely-crafted code, design and txp
Offline
Re: Core Web Vitals to affect Google rankings May 2021
philwareham wrote #328831:
Because we can’t assume that people want lazy loading on by default – that’s too opinionated. For example, if you use a JavaScript carousel on your site then there can be issues because the script needs to know the intrinsic dimensions of the images to do its maths. If the image is lazy loaded (and you haven’t specified a
widthandheightattribute) then this can be problematic as the script won’t know about the image dimensions. Better to let users define how their images load – we just provide the tools to do it.
This is a question for me to learn. The <txp:image /> tag parse the dims by default, doesn’t this mean that the js carousel will be able to know?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Core Web Vitals to affect Google rankings May 2021
Content Delivery Network (CDN) is a network of servers distributed across many places around the globe. Their job is to serve content to visitors. But, the website’s server does that too – “Serving Content“. So what is the difference?
CDN. Lazy Loading. Core Web.
This is all giving me a headache. Perhaps it’s time i get my self off the internyet .
…. texted postive
Offline
Re: Core Web Vitals to affect Google rankings May 2021
bici wrote #328836:
Content Delivery Network (CDN) is a network of servers distributed across many places around the globe. Their job is to serve content to visitors. But, the website’s server does that too – “Serving Content“. So what is the difference?...CDN. Lazy Loading. Core Web.
This is all giving me a headache. Perhaps it’s time i get my self off the internyet .
I also ignore CDNs. It’s basically another word for cloud computing to me. If my site is down, I do not care if the images are down too.
The reason they want that, is to lighten the load from the site’s main server. I think that optimising images is still a must for those who wish to save energy.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline