All right guys.
Welcome back.
Now if you've been following me from the previous lecture you will also have set up your CloudFlare.
See the end by now.
If not go ahead and do that.
If that is what you're looking to do to optimize in this section.
Now before we go ahead and do a speed test and a loading page test I want to talk about the next issue
we're facing what it is what we can do about it and then we're gonna go ahead and test our new CloudFlare
sedan for the server response time and also check out how to affect the leverage browser caching.
OK so what is leverage browser caching.
Well basically it is the cash.
We know what our cash is already.
Right.
It's about leveraging a browser cache meaning we catch a lot of the things such as the see says javascript.
A lot of our images are background et cetera to the browser to the user to their computer so everything
will load much quicker.
Now the issue that we have right here and it's a small issue because you can see that it's actually
in the lowest part in the priority list right here is that if you scroll down there is no expiration
dates or expiration time.
Rather it's specified and this is usually not really that big of a problem because we're going to go
ahead and set up a matter anyway so that's going to take care of this problem.
But what it means is that it does not have a date or a time for when it's going to expire.
So if you're updating your site it does not automatically remove itself from the cache and for some
a lot of people use different times for the caches depending on what kind of Web site depending on how
they want to leverage et cetera.
But what is important to know is that you're still going to get the updated site if you take care of
the cache on your Web site.
Now if we have a look at Pat Flynn here on his Web site smart passive income this is the first test
that we did earlier on in the section you're going to see that he also has this leveraged browser caching
as an error if you click on it.
He actually has the same thing as we do exploration not specified on a lot of the things in here.
But anyway his Web site is performing very well and is loading super quickly and it's a small size.
Now the most important of all this of course the loading time itself.
And we're not here to get hung up on all the numbers getting everything perfect.
We want to have a great loading time for the user experience and for the SC.
All right.
But what I want you to do is actually go to your cache plug in and if you've been following along you
should be having the WP super cache and if you don't that's fine too.
There are a lot of great cache plugins out there.
And I wanted to go down to this one in the advance section so you go to Settings WP super cash advance
and then go to this one this has three or four not modified browser caching indicate when a page has
not been modified since it was last requested.
So what this is going to do is that it's always when they're entering our Web site they're going to
check their catch towards the current cache on the Web site to see if they are matching just to check.
Okay.
Is there anything that is updated that needs to be updating or if it is the same if it is the same then
nothing needs to be done if something is up that is going to update us it's just something that's really
worthwhile to have activated.
So we're going to click it in.
We're gonna go down and click on update status and now with this tiny difference that we have made with
this tiny update we're gonna go ahead and we're going to do in New speed test to our Web site.
Now of course there are a lot of more things that we could be doing in here you could actually go into
your HD access files and set certain expiration times for each of these files.
And I'm gonna show you how to do that as well.
Now you could also go ahead and go to your h t access file and write in a certain code to set an expiration
date but that file is very sensitive.
If something goes wrong it's going to break your website.
I've been using it before but I have not really seen any difference in performance in my web sites.
So I don't really bother doing that anymore.
So we're not going to be touching that is just unnecessary work and also slightly risky work.
We're gonna go ahead and we're gonna do another speed test so I'm going to click on Start testing.
All right.
So the numbers are in and as we can see there's a really nice improvement going on the loading time
is improved the requests are lowered the size now just as a disclaimer none of these is an exact science.
If you run multiple tests you might have noticed that goes a little haywire.
Also depending on where the test is coming from but it gives you a very good estimate that as we can
see in the previous tests are loading time was hovering at eight zero point eight seconds and close
to zero point nine and now it's hovering at zero point six.
This is incredible the are lowered.
We can see 31 to 18.
The size is slightly increased but again these this might not this is not pitch perfect.
This is not pitch perfect none of this is but a total score has gone up to seventy one from sixty three
and this is just really really great guys.
Now if we scroll down you're going to notice that the leverage browser catching it's still a problem
going on here but it's gonna be until we set an expire time and in my opinion looking at these fantastic
scores I don't think we need to and I don't think you should worry too much about perfecting these either.
Now this one is of course super interesting.
Look at this.
Now we're still getting a reduced server response time warning but before that one was actually in the
top of the hierarchy it was the biggest current problem.
Now it's at the bottom even lower than leveraging browser caching.
So if I click on this one we can see that the server has responded in zero point three seconds and this
is fantastic whereas before it was responding in zero point seventy eight seconds right.
And if we look all the way from the beginning when our speed was lonely at four point two seconds almost
four point three.
Remember this was from Sydney Australia.
We also had a server response time of one point one second.
So almost over a second we had to wait before the server responded and anything happened and that was
the time to first buy it.
Remember that.
So right now guys we actually have a fantastic Web site going on and if we compare ourselves with Pat
Flynn you're going to notice that his loading speed is of course faster and chances are that he is using
expert to properly utilize his Web site minimizing the image sizes even further and off course maybe
he's using dedicated servers or VPN hosting while we're using this shared hosting in the most basic
plan.
And to be honest we're doing really great even for that.
He is at zero point almost zero point four and we are at zero point six and the point is to be under
two seconds.
So we're doing really fantastic.
Total size.
Now our performance is at 7 to 1.
And he is at 73.
And again these are just abstract estimates from this site uptime dot com and nothing here is perfect
no need to go all crazy to perfect this.
He also has these things going on but one of his problem is not server response time you can see he
says Green and you're gonna get green if you serve response time is better than sero point two and we're
going to have to upgrade either go from blue hose to for example site ground we should really fast host
or improve our hosting at Blue host to maybe a VPN or pro plan or just be really happy that we're paying
very little money for a fantastic service and our website is working perfectly fine guys but as always
the actual proof is in the pudding right.
So if we go ahead and we we're going to load Robin and Jesper dot.com like this we're gonna notice that
it loads really quickly of course but if you notice that smart passive income at pamphlets website it
loads faster but these two while there is a difference the difference is not huge.
Both websites are loading really really quickly and this is fantastic if you're under two seconds you
can have a fantastic Web site.
Fantastic SCA are happy visitors.
You have a great UI user interface and great you ex.
Now in the next lecture guys what we're going to go ahead and do is actually look at all of these other
estimates going on in here right now for me right now and chances are for YouTube they might be green
but they may not be so let's talk about what all of these other things are and if they would have this
warning sign what to do about them.
Now one last thing I want to tell you about that as always these sort of tests are not perfect and different
tests give different results.
We have the we have a test from Google and we also have the pinged test and those are going to give
you different suggestions different results.
But as always guys don't go crazy on this.
The main point is to have a good score a beautiful user interface beautiful user experience and then
you are all good to go we don't need to have perfect scores in everything.
Look at Patrick clean he has an amazing website amazing business going on and he's doing 73 out of 100
not 100 out of 100.
So let's talk about these other things and then we're going to move on okay.
See in the next lecture guys.