0:02
okay howdy everybody hope everyone's doing well
0:08
today can we get some confirmation in the chat whether or not audio and visual
0:13
is good we've been on a roll lately haven't had too many uh audio and visual glitches knock on
0:20
wood but um yeah hopefully everything's good hopefully everybody's having a wonderful
0:26
day and uh we're going to learn about some vital metrics
0:31
today literally yeah got a cough
0:37
here only one minute late yep Mother Nature was calling Mr Cole I had to uh I
0:42
had to answer so uh sweet all good
0:51
excellent sound I know I look good Sean but you know we don't need to say that all the time I appreciate it keep it
0:58
between us um okay
1:03
um today we're going to be talking about some core web vitals and uh I know I've
1:09
talked about page speed uh in previous live streams not sure when the last time I did one was it was probably couple
1:17
years ago um and there's it's always nice to do a little rehash
1:22
um I'm going to emphasize today on some of these metrics that Google is calling
1:28
core web vitals I'm sure you've seen it if you looked at any sort of page speed reports or some you know SEO reports um
1:39
because P our page performance seriously uh is affecting
1:45
our SEO rankings okay um Google is upfront about that if your website is
1:51
slow um then other websites in your Niche that are faster are going to rank higher okay so um yeah it's not the only
2:00
ranking Factor obviously we still need to do all the other SEO stuff as well
2:06
um you know good header tags good title tags good descriptions good content lots
2:11
of traffic right um this is just what we're talking about today is just going to be one small sliver of that um and
2:19
talking about what these metrics are and what we can do okay um color for shirt
2:25
thank you Mr Francis um okay I just what kind of spurred this today um let me share my
2:34
screen um yeah I found this super nice simple
2:39
very simple website it is web vitals.com if you want to go check it out for yourself
2:46
okay um and uh yeah it just has a nice little definition of all the web vital
2:55
the current web vital um metrics okay um Josh is in town he's he's actually in
3:01
Paris if anyone is in France and uh wants to meet up with Josh he's open to
3:06
meeting with you his wife won't mind anyway okay back to web vitals um
3:13
yeah I thought this was just a nice little website that kind of showed off what each particular web vital metric
3:20
was and a nice little definition so we're we're I today I'm going to Define everything first and then we're going to
3:26
go look at some real world scenarios okay we're going to dissect my websites and you can see how bad some of my stuff
3:32
is uh okay let's just do that I'm going to embarrass myself by the end of this live stream I know it okay so uh let's
3:39
do largest contentful paint um this is going to uh the metric of how long does
3:46
it take for the largest um basically main element of
3:52
your web page to load whether or not that is a banner image or maybe it's a
3:57
huge thing of text you know what whatever is the largest text or image element on page load how long does that
4:05
particular element take to load okay and I think this has a nice little um example here so boom so this
4:14
is the largest contentful paint and how long did that take to load basically um
4:20
it was a little you know fictitious simulation here just to kind of give you an example um and yeah if it takes a
4:26
long time to load I believe uh do they show you the metrics
4:31
here I believe on Google it says I think if it's O if it's over two seconds or is
4:38
it 2.5 seconds I think if it's over 2.5 seconds you get a uh you get dinged so
4:44
whatever that uh particular element is whether or not it's an image a video
4:49
whatever needs to load fast okay so super important I know
4:56
especially those people that want like this big ginormous video to All play on page
5:01
load you got to make sure that you know that's not hurting you I know it looks
5:06
cool but it might be hurting you okay so um yeah it could be affected by this largest contentful
5:13
paint okay so there's that we we'll look at some real world scenarios of this
5:19
um next is actually you know I'm going to yeah we'll go over this one interaction to next paint this is kind
5:26
of a I'll be honest a new one that I actually wasn't even aware of um that it
5:31
was a metric and it's not even something that's reported on like page speed insights
5:37
okay but what this is is essentially um let's say
5:43
um a lot of this has to do with JavaScript based web apps where um a lot
5:48
of actions uh don't get get triggered with JavaScript okay and essentially um
5:54
it has to do with how uh fast things are interactive so we'll we'll click on if you go to the web vitals.com you can
6:01
actually see this live is right right they have little you know expand to click does it respond fast okay um is it
6:09
slow you click on that it takes a little bit longer to to to load okay um and the
6:14
slowest this is the bad one right so um you know fast is good it's basically um
6:21
something has to after if you click on a page something has to respond within I believe it's 100
6:27
milliseconds if it is if it responds or does whatever action you want within 100
6:33
milliseconds you're a okay okay um if I I think it uh obviously this is 1 second
6:39
so maybe this the medium I wish this site actually showed you like what is uh
6:45
you know good warning and bad um that would be nice thing um so anyway um
6:52
within 100 milliseconds so yeah that's what this inp is uh again it's if an in
6:59
if a user interacts with an element okay how long does that element take to actually
7:05
respond how does Google uh actually measuring this I don't know okay it's pretty interesting um and it's not
7:12
showing up in a lot of their page speed reports so um yeah I'm not sure how
7:17
vital this one particularly is but it obviously is a uh a approved metric from
7:23
Google okay um next one is
7:31
cumulative cumulative layout shift I hate this word cumulative cumulative
7:38
layout shift okay um what this is is you know if you go to a web page and um as let's
7:46
say most of the time has this has to do with images um and if you're in image loads and it pushes other content on the
7:53
page down and you know you basically you see the layout shifting around based
7:59
when other things are getting loaded on the page that is bad okay and that is what cumulative layout shift is so as
8:07
you see when we go to this page uh all that stuff is pushing this content down
8:12
because it's loading okay um so that is a bad thing we don't want that we want um it's fine
8:19
if things take a little while maybe to Lazy load but as long as it doesn't shift everything around on the page um
8:26
we should be good to go okay and there are some strategies that we can um you know facilitate for that as
8:35
well next is first content paint okay um
8:40
and this is this measures um the time from when your page actually starts
8:45
loading to when any of the part of the web page is first loaded okay so um maybe that first let's
8:53
click on it I'm sure they have an example here okay so if you notice that that um
8:59
um that web page don't know if you noticed it over the the live stream it took a little while to to render and pop
9:06
back right so um I think they purposely did that so the web page loaded but we
9:12
didn't see anything for a little bit of time okay that's what that first content full paint is um it's basically the
9:19
amount of time that it takes for the user to see anything on the page okay
9:30
and the the last one is time to first bite okay and yeah this one has to do
9:36
pretty much all with server okay this this has to do with um a request happens
9:43
on the server how long does it take for the browser to receive the very first
9:48
bite of information okay um so yeah this has to do with how fast your server is
9:55
um are you using a CDN are you using something like cloud flare to help performance right um yeah I think this
10:05
there isn't much to do with in terms of the website code okay um it could have
10:10
to do with some PHP maybe you have some PHP taking a long time to render a page or build a page out right but um
10:17
hopefully some of that data can be cached especially if you're using something like Cloud flare which would be awesome okay but it is all um most of
10:25
this has to do with server performance okay if you're on a very very cheap web uh you know shared hosting company um
10:33
your time to first bite might you know just purely be because
10:39
the server has too many websites the server is overloaded and it can't serve the content fast enough to the website
10:45
visitor okay um so yeah there we go that is time to first
10:51
bite um maybe later on I I I I do want to dive into some uh real world test
10:57
cases okay um and hopefully at at the end I'll go through and kind of uh you know iterate
11:04
about what can you do about this stuff right um some of this stuff can be
11:11
controlled by you some of this stuff you don't have you might not have much control over okay to be perfectly honest
11:19
with you there's a lot of here that um if if you're just you know a especially
11:25
if you're a beginner web designer um and you don't know the intricate es of
11:30
various things there might not be much you can do okay um but I will help you
11:37
as much as I can um in today to kind of give you some hints on what we can
11:43
do okay um so first off let's dive into
11:49
page speed insights and there's actually two ways I I'm using a browser called
11:54
Arc okay it is based on Chrome um but but I know a lot of people use uh Safari
12:01
as well if you're using Safari um you'll have to go or Firefox you'll have to go
12:06
to page speed insights Okay Google's pagp speed. web.dev okay if you just
12:12
Google for page speed um it'll be probably most likely the top result
12:19
okay um but if you are using a chrome-based browser okay you can visit
12:24
any web page okay and if you were to open up the Devin spect so I'm going to just do open up the dev inspector okay
12:32
there is going to be a lighthouse tab okay and this is essentially page speed
12:39
built into the browser which is interesting now there's pluses and minuses to both using the page speed
12:46
website versus using the lighthouse plug-in and uh for fun actually I'm
12:51
going to load um run Foundation stacks.com through both Lighthouse and
12:58
Page speed insight and we'll see the difference okay um so right now I'm going to do is I'm going
13:03
to say analyze uh page load speed uh inside Lighthouse and it's going to run its
13:09
little
13:20
report and here we go oh interesting I I have to admit I ran this about a half
13:26
hour ago and my performance was like 76 or something like that uh and I was like
13:32
wait what um so kind of crazy um that that does prove a I was actually kind of
13:38
hoping it was going to do that again um but just to kind of prove a point that
13:43
um these tests are spot in time tests okay
13:50
um now I've done a live stream previously where I actually got this homepage to load hundreds all the way
13:56
across I have screenshots I have a video to prove it okay but um a Google um over
14:02
long periods of time Google changes these tests right they add some new things technology changes right so what
14:08
is 100 today might not be 100 six months from now okay and also
14:15
um yeah uh I got a I literally had a 76 on performance half hour ago and and I
14:23
didn't do anything different I don't know maybe my internet connection is slightly faster now who knows okay okay
14:29
but just to let you know that these test scores do fluctuate so it just gives you a hint of what you could potentially
14:36
improve on okay uh now my whole point is I was going to I was hoping that uh this
14:43
was going to be lower because I was going to go on page speed insights and load it and it should have been faster um but let's go ahead and I'm going to
14:49
run this uh website through Page speed as well let's go to page speed
14:54
insights we're going to analyze that okay um now with page speed insights what's
15:00
kind of nice is it actually gives you mobile and desktop at the same time and while this is running we're actually
15:05
going to go back and uh we dive through some of this stuff okay
15:12
um now if we analyze some of these results um something that I've noticed
15:17
um that Lighthouse tends to do um let's
15:23
find maybe maybe it actually didn't uh oh yeah okay so like here it gave me a
15:29
warning about reduce unused JavaScript right and um if we look at these I mean
15:36
three of the four files here are from extensions that I have installed in Chrome it's kind of not fair like it's
15:42
it's reducing my score based on extensions that I have installed on my browser okay so yeah not really fair uh
15:50
you can't exclude it uh from this check boox but I noticed it I don't know this particular extension that I have which
15:56
not sure which one it is um it doesn't remove itself so yeah I I'm getting
16:02
dinged from my score um which something I don't even have control over and it's
16:08
only local to my Mac okay so yeah a little unfair um so but you have to take
16:15
we will dive through all of this stuff um in in a little bit but you have to take a lot of these results with a grain
16:21
of salt um and again some of these things you will have control over other things you won't you'll have to rely on
16:28
people like me or other developers um to ship quality
16:33
products okay um okay let's uh look at page speed insights oh funny enough so
16:40
when I ran this earlier um page speed gave me almost I think it was 96 96 96
16:46
100 but then Lighthouse gave me the low score now now page speed insights gave me the lower score and uh very
16:53
interesting I was expecting this test to be the opposite numbers um but what's
16:59
nice about page speed uh this doesn't let's go to desktop oh see look 99 96
17:04
100 okay so it they dinged me a little bit on mobile on desktop I am uh almost
17:10
at full hundreds which is nice okay uh but what's what's cool
17:15
about this if we go to reduced I mean if you look here reduce unused JavaScript it doesn't obviously I don't get dinged
17:22
for the uh um extension stuff so that's why my best practices score is 96 here
17:29
whereas inside here my best practices score is 78 right so that's way um one
17:36
reason why your Lighthouse score will be different than your page speed um
17:42
insights score a little bit of tidbit there um just a quick pause if you have any
17:50
questions make sure you put those in the chat happy to answer anything or you know go over anything um so anyway let's
17:57
let's look at this you'll notice that that in here we have a lot of our core web vitals okay inside the page speed
18:05
insights okay um it what kind of cool it actually shows you um this is actually
18:11
new um it kind of shows you the points that you get to get to 99 so cumulative
18:18
layout shift I got 25 points um SI o speed index okay which isn't a core web
18:26
vital on that website which is interesting um so but essentially I assume that's just the speed of the
18:31
website uh first content full paint um largest content full paint and then time
18:37
to first or total blocking time I think total blocking time has to do with um
18:43
time to first bite okay um so anyway so that's kind of gives you a summary of of
18:49
what took up that score you can see what all your points are here if we do expand
18:55
view this does give you more information and I I think if you click on these here
19:01
um it does give you more documentation from Google but I think it gives you the um here we go this is what I was looking
19:07
for um it gives you the actual score range right so first content full paint
19:13
if you are below 1.8 seconds you get green which is funny because I know for
19:19
a fact like a year or two ago this wasn't 1.8 it was like 2.5 right so
19:26
Google is upping the ante here here um so that you know making sure that you know your site has to be uh very fast
19:34
now um to get that uh that green score okay so here we're getting 1.8 to 3
19:40
seconds is orange if you're over 3 seconds you're red that is bad okay so
19:47
yeah if you want more information about what um each of these are again I'm not
19:52
I won't go through you can actually go ahead and read all of these stats if you want um I do think this little uh kind
19:58
of knowing what gets you green orange and red is is useful though
20:06
okay um largest content full paint let's see what the metrics are on that that is
20:12
oh oh this one was 2.5 maybe I was getting mixed up with uh the other one okay so um maybe this didn't change uh
20:19
because I I did remember a 2.5 I guess that was on the largest contentful paint
20:24
um so 2 to 4 seconds you get orange over 4 seconds you are bad okay you're a bad
20:31
boy um total blocking time what's the metrics on that um less
20:37
than 200 milliseconds you get green 2600 is orange red is slow okay interesting
20:43
you know I'm going to run this on uh well actually here let's we'll continue down this okay um let's look at some of
20:50
these I know these aren't core web vital but I know a lot of people have questions about all of these bad boys
20:57
okay um so what can we do with a lot of this stuff um properly sized images okay this
21:04
is going to be a big thing I think the number one performance hit on any website is going to be your images
21:11
1,000% I um I'm not going to dive too much into into that um I have an entire
21:17
live stream dedicated to that um so go ahead and watch that okay um here uh
21:23
these used to be pgs I know these images that they're pointing out here they used to be pgs I converted them to P which is
21:29
awesome um apparently now I can do better compression with webp than I
21:34
could when I originally did this and it thinks that I can shave you know some some you know sizes off this these
21:41
images so um yeah I've done good where I I am loading up a webp image instead of
21:48
a PNG um but obviously Google thinks that I can reduce the size even farther
21:54
than what I'm doing okay by just a little bit well apparently by 300
22:00
kilobytes they're suggesting so that's something I can go into um or you know I could do in the future um try to
22:07
compress these webp images uh a little bit better if you want super great uh webp
22:14
compression uh I told you I wasn't going to go into this but uh just go
22:20
to oh man I just drew a blank now no
22:33
oh I just drew a blank what is Google's um image compression tool oh no
22:44
tools squoosh there it is squoosh doapp it's a web app um this
22:52
gives really good compression especially for WPS so if I wanted I could take those images drag them in here here and
22:59
you know get a slightly smaller version that I can then add to my website and um
23:04
and improve so squish um there are other great apps I said I wasn't going to go
23:10
into this but image shrinker is a great one um if you want to compress uh svgs
23:16
jpegs and pngs okay great app image shrinker it's
23:22
free it's my go-to I have to admit I use image shrinker uh for anything that I
23:27
don't need to webp for if I need web Peas I go to squoosh it's essentially what I do okay um all right
23:35
there we go back to our regular regularly scheduled program so properly sized images this is
23:41
100% in your boat you can fix this okay go watch my live stream um make sure
23:47
they're properly sized to the correct Dimensions make sure that they are compressed and the correct format there
23:54
we go okay reduced unused
23:59
CSS um this this is one of the categories of you most
24:06
likely have there's nothing you can really do about it okay um yeah there's not much you can
24:14
do about it for some reason they're they're complaining that my uh my font CSS from my is unused but I kind of need
24:21
that for my fonts on the website so I'm not sure why it's saying that um yeah
24:27
kind of odd now um it saying that hey you can reduce your um Foundation stacks.com Foundation CSS file by 23
24:36
kilobytes okay um that could be true um you know there could be unused CSS maybe
24:43
you know that's kind of the one of the let me let me zoom out
24:49
here okay so I I I do get asked about this every now and then where people are
24:54
like hey uh you know page speed is saying that the foundation CSS file has
25:00
unused CSS what can we do about that well there's a couple things okay uh
25:06
well not much that you could do but let me explain the situation okay
25:12
um you're using a tool okay Stacks um and that Stacks has the benefit of a fun
25:19
to use Dragon drop interface um with developers that um try to make hopefully
25:26
try to make the best products possible for you now there's some exchanges for that um
25:32
where um I as a developer have to make a tool that um Can Can Work under various
25:40
modes and settings and whatnot right um I don't know what settings you're going
25:46
to click there's some things for performance reasons I load an entire library for you where some you might use
25:52
some of the features but maybe not all the features um so yeah you you might there might be some unused CSS or unused
25:59
JavaScript on your website because of that okay um if you were to hand code a website if I were to hand code a
26:06
foundation website I could easily pick and choose exactly what I want and and get that unused CSS probably down to a
26:14
few kilobytes maybe even less who knows okay um but hey that takes an immense
26:21
amount of work even if I were to hand code a website okay um so yeah I'll be
26:26
honest even if I hand code websites which I do sometimes okay um I don't
26:32
take the time to optimize these every little kilobyte of of CSS because a lot
26:39
of times you just you load in a particular library and you have a suite of utilities that you can use and
26:46
sometimes you use them sometimes you don't now another thing about this page speed Insight is um there are let's say
26:52
the the foundation CSS file it um
26:58
I might use one part on one page and I'll use five other parts on a different
27:03
page but page B doesn't know that it doesn't know that hey the browser's going to load this Foundation CSS file
27:10
and it caches it so it only downloads it one time and
27:16
um on page a I might use one component on page B I might use two components but
27:23
even though the other two components when I'm on p on the homepage on page a it downloads the CSS for the other ones
27:30
even though it's not loaded but when I go to page two all that CSS is already loaded so things are even zippier and
27:36
quicker right so yeah that's why you know a lot of this reduce unused
27:42
JavaScript in CSS um it is right but it is also wrong right so just to give you
27:49
a little bit bit of feedback there hopefully if you guys have any questions about that let me know um but yeah um so
27:56
that's kind of the story around that um yeah a lot of times Frameworks will be
28:01
uh you know it will you load unused code on one page that might be used on
28:07
another page but we benefit that from caching in the browser back in okay I see a
28:13
um I see a question about total cms3 support for webp total cms3
28:20
old uh 9 resources does give us a
28:26
time it wants it to be one one year yeah see I don't know I I disagree with that
28:32
with Google Google wants yeah so what Google wants is uh they want all of our static
28:38
assets to be cashed for one year okay I don't know that just feels
28:45
so long for me um yeah I have mine set to 31 days um and yeah so I'm going to
28:53
get dinged with that um and you can change that if uh use something like cloud flare or uh HT access files you
29:00
can change your I actually think it actually labeled it out in this thing it gave it some HT access
29:06
rules yeah um so yeah uh oh that's the header that you would need to do uh do
29:12
they give you any they don't give you any rules right you can control that in HT access file um if you use something
29:18
like Cloud flare which I've mentioned um you know a couple times today um you can you can customize that there as well um
29:25
but yeah apparently it wants one year so I don't know I disagree with that I
29:32
don't know it's kind of crazy so there we go one year that's what Google
29:38
wants um but I'd improve my I'd improve my score if I did that even though I'm pretty happy with these scores myself
29:45
right that's pretty awesome um avoid Legacy JavaScript um all so yeah I'm using some
29:54
some JavaScript extensions in some of these uh JavaScript libraries I'd have to dive
30:01
into that this is something that isn't uh pretty much nothing you
30:07
can take care of right this is all the developer stuff and these are all pretty
30:12
minor things that I'm seeing right now um just saying I I could probably use something other than date. now and I I
30:19
use Babel to compile the JavaScript but H I'm not sure why it cares about that
30:24
pretty minor things uh oh I guess it says I could reduce this Javascript file by 7 kilobytes if I didn't if I didn't
30:31
use those things okay um maybe in Foundation 7 that's all
30:37
stuff I'll look into um avoid document. write yes um this will go away in Stacks
30:46
Pro okay um found the foundation theme um does some magic I'm going to call it
30:54
magic okay um to overcome some uh limitations in the rapid Weaver
31:01
API that thank God we don't have anymore in Stax Pro um so yeah this document. WR
31:07
error will go away it's a pretty minor thing anyway because document. WR happens at the very bottom of the page
31:14
which document. WR pauses page rendering but at that point when Foundation does
31:19
it all your pages rendered already anyway so it's a little bit minor but um
31:25
yeah it'll be gone on Stacks Pro I don't need to do that anymore which is nice uh we talked about reduce unused JavaScript
31:31
already same thing as the CSS okay um avoid layout shifts we should talk about
31:37
uh what a layout shift is I just I I do want to go over some best practices things you can do common things that I
31:43
see happen um and how to get over those things okay
31:49
um I'm not going to take the time to go over mobile it's going to be the same uh same a lot of things these largest
31:54
content full paint um I apparently this text is rendering slow for some reason not sure why um maybe it's the font file
32:01
I don't know um yeah okay reduce and a lot of it's the same reduce unus
32:07
JavaScript avoid Legacy JavaScript reduce JavaScript blah blah blah blah blah a lot of the same things cash
32:13
policy oh what's this A lender uh oh eliminate render blocking
32:19
resources um apparently this CSS file takes a little too long to load it
32:24
thinks um it's 27 kilobytes we kind of need it or else you're going to get a lot of other problems so yeah not really
32:32
anything we can do about this one um I mean what Google what Google wants us to do here it and it's not really something
32:40
that is realistic uh for a website built with
32:46
Stacks is um here let me let me back out
32:52
here to fix that problem okay um I'm going to get a little geeky here here
32:58
okay and so what Google's uh suggesting that we do is instead of loading our CS
33:03
our Styles inside CSS files at the top of the page like before any of our content what Google wants us to do is
33:10
they want us to um do inline styles for everything that is quote unquote above
33:18
the fold okay and what that means is so above the fold is anything in the browser view before you
33:25
scroll so um Google says okay what we should do is to make the fastest website
33:30
possible is instead of loading CSS files only load the CSS needed for that very
33:37
top portion and then after that very top portion is loaded then you load the rest
33:43
of your CSS that is a very complex thing to do
33:50
um in a interface such as Stacks um it I
33:55
want to say it's close to Impossible um I I've done a little bit of work to
34:00
actually attempt um to do this and I got kind of close but there's other
34:07
drawbacks to that um because of doing on the fly right so yeah I mean I think
34:13
that is a very decent solution if someone were hand coding a web page um
34:18
there's some technologies that could uh make that better and easier but for an interface such as
34:25
Stacks um at least for now now um there really isn't much you can do about that
34:31
uh we need to load the CSS files up front because it contains all the CSS for the entire page um yeah the above
34:38
the fold inline styling of everything um yeah um it it's a very
34:44
tricky problem to solve especially for a uh for a website builder such as Stacks
34:50
so anyway there we go
34:59
okay um so yeah you eliminate uh render blocking resources at least for this particular one
35:06
um yeah we need it need to have it sorry um yeah uh
35:13
there are things I I I do plan I don't know if it'll be the foundation 6 next or in Foundation 7 but splitting up the
35:21
framework so you can pick and choose what you want um something I'd like to do that'll come after sta Pro ship after
35:28
total total CS 3 ships we'll start planning on the next version of foundation 6 um which will be backwards
35:35
compatible um I think I've talked about a little bit before so 100% backwards compatible I I just want to um you know
35:41
make changes that are too big to make um in an existing version right so um yeah
35:48
there we go not going to get dive into that but um so some of these errors can be potentially reduced with that uh you
35:55
know what I have planned okay um let's dive back I'm going to dive
36:00
back into this this just so we see the core um statistics and some common
36:06
things that I see happen Okay on these oh almost
36:12
forgot remember how I said page speed insights is a moment in time okay it is
36:18
right now there is the ability um Google does track um some of these Statistics
36:26
over time for you okay um there's some caveats though um and it's all in the
36:33
Google search console now um they only I don't know
36:38
when they they start doing this but um your website has to be of a certain am a
36:44
certain size it has to have a it has to be around for a certain amount of time it has to have a certain number of page
36:50
views for Google to start tracking this for you right you know a lot of today I
36:55
did Foundation stacks.com and if we go into there Foundation stacks.com doesn't get enough traffic
37:03
for um Google to do this so it just says hey go try page speed
37:10
insights okay um but Weaver space does get enough traffic um so if we go to
37:15
Weaver space um you'll see that uh actually I'll be honest I didn't even I didn't even know this this actually
37:21
existed in here uh until very recently as well and um this is where I have egg
37:26
on my face because I have a bunch of bad scores here so I have I have a little bit of work to do um so here if we go to
37:34
my they have a desktop and a mobile report and if we open that report you
37:39
can kind of see uh I have a lot of bad poor uh content layout shift uh a lot of
37:46
it has to do with content layout shift I have some bad content layout shift
37:51
on basically all of my product pages okay so um yeah uh it's interesting it
37:57
shows over over time um so yeah there we go um I I'll talk about what what I
38:03
could do there U so you guys can kind of learn from that but um I just want to show off that if you do have again I
38:11
don't know the threshold on when Google does this um but yeah um all I've seen
38:17
when I tried to research what what qualifies your site for this it just says if your site has enough traffic if
38:24
it has enough influence or whatever then it starts tracking it for you um yeah I
38:30
don't know exactly what those thresholds are but it's nice that Weaver spaces hit them okay so there we go so you might
38:38
have these or not have these I don't know okay but check that in your Google search
38:44
console sweet almost forgot about that one
38:50
um all right I was going to go over web vitals largest contentful paint um what
38:57
can we do to um let's say you're getting dinged on this
39:03
um the big things here okay are going to
39:08
be image size big one okay um image size
39:14
if if you're using a large video uh what's the size of the poster image in that video okay maybe it's not the video
39:20
but the poster image because that's the first thing gets downloaded okay is that poster image um yeah and if it is a
39:27
autoplay video make it as small as possible if it's an SVG again make sure
39:33
that it's um yeah uh compressed SVG some svgs are quite large so um it's possible
39:40
that actually um you know I was building a that camping website and I was trying to create an
39:46
SVG and it was like 2 megabytes and it was it was insane um so sometimes a PNG
39:55
can be smaller than an SVG okay so um yeah uh sometimes uh you know
40:03
one version of an image can be better than another you know and traditionally svgs are great and you might think those
40:09
are what we should use but not always sometimes that SVG can be really big depending on how detailed it is now for
40:16
that particular example I completely scrapped the SVG and I redid it from scratch less detailed and I got it down
40:23
to 50 kilobytes okay which is maybe something for another live stream okay
40:29
um but yeah content full paint especially those
40:34
images properly optimized as small as possible um and that will reduce uh this
40:41
largest contentful paint okay all right next up oops what did I do there we go
40:49
um all right next up um interaction to next paint
40:54
um a uh there isn't much in terms of metrics here uh that as you
41:01
saw even in page speed insights this wasn't there so um yeah even even if
41:06
there were I'll be honest not sure what what you can do I don't have much
41:11
experience with how Google is interpreting this um so yeah I would I'm
41:16
leaning towards this developer thing this probably not much what you could do it could be potentially uh multiple
41:23
stacks on a page conflicting with each other right slowing something down down
41:28
um but for the most part I'm going to say um yeah if you have any delays in
41:34
your settings maybe there you have a stack that has like a delay animation thing or something like that maybe make
41:40
sure it's not more than 100 milliseconds okay so just
41:45
saying um I'm going to skip CLS that'll be a big one actually uh let's go to
41:51
First content full paint um what can we do here um this one
41:58
is going to be a a lot about the a lot of its speed of your
42:04
website okay um because it's it's the the speed at which something um gets uh
42:10
displayed fast as as fast as possible and to do that you want to use something
42:16
um you know either a CDN would be preferable um I use cloudflare I think
42:21
it's amazing I'm not affiliate with them I think their free account is the best thing the best deal on the internet okay
42:28
um I know some people do not like them but something that um yeah can help
42:34
speed up your website Cloud flare can do it it's free um and I think it's a
42:39
really really good DNS manager as well so there we go it also has the cheapest
42:44
domain registration on the internet as well um so check that out um I I moved
42:50
all my domains over there and saved hundreds of dollars a year um with that
42:55
so anyway right again not affiliate with them at all but yeah first content full
43:00
paint you want to get that that data to the server to the to the browser as much
43:05
as possible and yeah CDN will do that to
43:12
you okay um next up is okay
43:18
communative cumulative layout shift most of the time this has to do
43:26
with images okay um so I I was planning today
43:34
not to dive into Stacks at all today to be honest with you but um we're we're going to dive into it just a little bit
43:42
okay um so I'm going to open up uh let's just open up a new project okay so um in
43:50
in Stacks okay um there's a couple things that that we need to make sure happen Okay um
43:57
now if you're using the one of the default image Stacks you
44:04
you'll probably be okay okay uh because uh one thing we need to make sure happens is that the image has width and
44:12
height tags set okay um so if you use the image
44:18
stack um that will that will get the job done however there's a lot of more advanced image Stacks out there okay um
44:26
either from my starter pack there's a picture stack okay and here you can
44:32
sizing attributes it's actually required okay now if you're using Foundation okay uh if you're using my
44:39
Foundation Stacks the P there's a picture stack there as well okay and I
44:45
Pro you know I might have this on by default in the future but uh it is off by default okay um and there's a reason
44:52
there's some reasons you might not want to have it defined okay um but
44:57
here you can Define your aspect ratios okay so this is where you define if you add an image here put in the width and
45:05
height uh of the image right now I'll be honest if it's a square image here's a
45:11
little a little hint you can actually just do something like one to one okay it it's the aspect ratio of the width to
45:19
height the ratio of that that really matters okay um but yeah for old for
45:26
older browsers it it mattered the actual value for new browsers it doesn't but you know you might as well if you just
45:31
put in the actual dimensions of the image um you'll be fine okay and you'll notice even right here in edit mode um
45:39
what this does is it reserves the space on the web page for the
45:44
image okay if I turn off this sizing you'll notice that it goes small it does
45:49
it doesn't know okay but if I Define the sizing um it B it basically uh even before the image is downloaded it will
45:57
reserve the space on the web page for that image okay so that way um when all all
46:07
your content is loaded right uh or when the image is loaded doesn't shift anything around on the web page okay
46:13
hopefully that makes sense and if you're using something like
46:19
my um uh man I just drew a blank again today
46:26
what is it um rain check where oh filter's down here
46:32
right R oops if I can type oh I need to go
46:42
to there it is so if you're using my rain check stack um you know you're
46:48
going to want to make sure uh a I wouldn't do this on anything above the fold right um because yeah this will
46:56
this can dynamically load and and it can potentially cause layout shift
47:02
okay um other things that you can do um is if we add um there is a Swatch
47:08
actually also called um aspect ratio okay and um this aspect ratio
47:17
Swatch uh actually here we need to make sure that we uh set my them a foundation here there we go now everything looks
47:24
nicer um so yeah the aspect ratio Swatch will um reserve space for stuff as well
47:33
right so let's say I have um a container that is set to 16 by9
47:42
okay which is this aspect ratio um if if I want to make sure that that particular
47:48
thing is always that size and after the content loads I know it's going to be fine um yeah the aspect ratio Swatch can
47:55
definitely help with with l layout shift and to reduce that or completely eliminate it in some cases okay so um
48:03
there we go there's a couple little tips about um Stacks again the biggest thing
48:08
is images okay make sure um in your images that you have the width and
48:14
height set okay um if it is you know going to be a large image that could
48:19
potentially shift content around in the layout
48:24
okay sweet okay
48:31
um last thing is first time to bite um and I'll be honest my my answers for
48:38
this are going to be the same thing as kind of first content full paint um maybe one other thing um make sure you
48:46
have a good quality hosting company okay um you get what you pay for the you know
48:51
$10 a year shared hosting companies um if you want to make sure you have a fast website they're not
48:58
going to do it for you okay um so yeah a good quality host um is is a good
49:07
thing um and use something like cloudflare or some other
49:12
CDN um there's even some image only kind of um CDN such as cloud andary and
49:19
there's a couple others out there um that you know you can you know have a
49:25
CDN for your just your images or something like that right but um yeah I don't think you need to go if you use
49:31
cloudflare man I I just think cloud Flare's best thing out there I I know I I really really really love it and uh I
49:39
know some people don't though so there are alternatives out there the Easy Button free account on Cloud Player
49:46
there you go Chile dog is good uh yeah uh yep Greg does a great job he's super
49:52
security conscious um and he's got nice fast servers okay
49:57
so yeah
50:03
um is my uh I do have a dedicated server um so yeah uh I do I don't run on any
50:11
shared hosting I run a VPS um I don't have it I mean yeah I run a VPS all my servers all my websites run on a VPS um
50:18
100% I don't if you have a business or if you just don't have like a small little dinky hobby website um you you
50:27
could use shared hosting but if you use shared hosting there's a lot of risks to that uh I personally would always use a
50:33
VPS if you can afford it okay I think and you can get vpss out there for
50:38
like less than $100 a year okay so we're not talking tons of money okay you can
50:44
get a small VPS um on some some hosting companies for you know 10 or less
50:50
dollars a month um a lot of times you'd have to pay yearly for that right you don't pay monthly um but I think it's
50:57
definitely worth it to get a VPS okay uh yes Fernando I was an hour ahead
51:04
sorry um I should have put that in my email I forgot to put I put it in the email last night but I forgot to mention
51:10
it in the email this morning so sorry about that Fernando you'll have to watch the
51:16
replay okay everybody um that kind of does it uh I thought I man I thought I was going to be quick today and uh we we
51:23
are at just under an hour I thought I was going to be a lot quicker uh VPS it pay $60 a month yes uh that is
51:31
a nice highquality VPS that is probably much faster you have a lot of dis space um again there are cheaper vpss uh but I
51:39
pay I pay about $60 a month for my vpss as well so um yeah it all depends on
51:46
what you need excellent thank you very much everybody um hopefully we'll see you guys on Friday um and uh yeah cool
51:54
Hangouts happen every Friday at 1:30 p.m. Pacific which is 1 hour from right now but on Friday I know I see a lot of
52:02
people in the chat are regular uh visitors over there on Friday so hopefully we'll see you then I might
52:07
have a goodie or two to show off um depends on how much uh energy I got this afternoon and uh tomorrow but um been
52:15
working on um new theme for Stacks Pro migrating uh the writer theme from an
52:20
old Nick Kate's theme um and that's going to be uh one of the first uh themes in Stacks which is fun and
52:26
exciting and I've also been working on I think I teased I think I teased it already uh feeds API which is a stack um
52:34
I I worked on that a little bit uh this week uh added some API key settings and whatnot and um yeah I might have that
52:42
ready and shipped by Friday actually um I I did the work last night just got to do some testing um for that last feature
52:49
and um yeah more information on that if you're curious on Friday I'll I might ship it by Friday I might try to get
52:54
that out the door I'm definitely a product um only for people that really need some advanced stuff um so it's
53:01
definitely a product for not everybody so sweet Bill hopefully see you on
53:07
Friday okay um take care everybody I won't eat up your ear anymore I appreciate it take care have a wonderful
53:12
week get your summit tickets so you can play around with Stacks just like me and uh we'll see you soon