This is the third part of this series of blog posts where I’ll try to make this site as fast as possible.
Today I’ll show you what the .htaccess file can do when it comes to improving the performance.
In the previous part of this series, I wrote about three best practices that I applied to the site. One fourth thing that I always do when building a new site is adding a bit of code to
Quite a bit of code actually. It’s the HTML Boilerplate htaccess which contains a lot of good things. I don’t understand much of it to be honest, but that’s not necessary. Just copy and paste the thing into your
.htaccess and watch the magic!
- Mobile: 63/100 (+1)
- Desktop: 75/100 (+1)
- Load time: 2.457s
- Start render: 1.888s
- Speed index: 1990 (-217)
- Load time: 1.944s
- Start render: 1.686s
- Speed index: 1714 (+186, okey? Why?)
Great! The speed index is below 2000 on the first load now.
That’s it for this time. To be continued.