Website optimization tests

Mister.T

Member
Hi,

I'm looking at optimizing my website, I've come across, a website called "gtmetrix" but is it any good at giving advice on optimization and speed? I've also come across some others that people use on XF.

Thank you
 
PageSpeed Insights and GTMetrix both use Lighthouse so their advice will be more or less the same. GTMetrix does provide some additional bells and whistles though.
 
How do I make my scores better on mobile, I'm getting some low scores, see image please.

If I use a CDN such as cloudflare, do I have to point my website to there nameservers, as I'm wanting to keep my own?

1725311050497.webp
 
Screenshots of scores alone don't really mean anything. If you scroll down, specific diagnostics which explain the scores are already provided. You have to address those, or provide a link to the results at a minimum for anyone else to help.
 
Google fonts and the entirety of the Font Awesome CSS can be heavy:
1725311826137.webp

The largest paint takes 1.5 seconds and seems to be a huge background image:
1725311968913.webp

Using images with appropriate dimensions and converting them to WebP or AVIF may help reduce the overall payload:
1725312011890.webp

Set explicit width and heights on all <img> tags, and lazy load them:
1725312153460.webp

Cache static assets for a year and use cache-busting techniques (query strings, etc):
1725312272310.webp
 
What would be a good size to lower the background-1.jpg to it's at 4838 by 3225, 321kb in file size at the moment?
 
The largest size you expect it to be intrinsically displayed at by the vast majority of your visitors. It's rendered at less than 2000px wide for me. You might also consider creating separate images for mobile and swapping them with media queries.
 
It looks like you need to use a cdn, it will help with your server load & caching.

As for images, if you go to the link above, click on image analysis from the results list you'll see something like this.


Not too big of a deal for your site but here are sample results:

Screenshot (246).webp
 
Can I use a CDN without changing my nameservers to that provider? as it looks like Cloudflare nameserver change is needed?
 
Yes cloudflare typically does want you to change to their nameservers but it's quick and easy and everything will function as normal after the dns resolves. Don't be scared of it.
 
I'm not a specialist but you are asking if it is possible to use a VPN to change your IP address but without changing your IP address...
 
I'm not a specialist but you are asking if it is possible to use a VPN to change your IP address but without changing your IP address...
No, no, in order to use a CDN (never used one before), I'm assuming I must change my name servers from ns1.website.com to the name server of the CDN, no matter if its Cloudflare or another CDN provider?
 
That's it, that's how it works, so I'm making the metaphor with the VPN and the IP... You can't, unless I'm wrong and it wouldn't be the first time, use a CDN without changing your nameservers since that's exactly what a CDN like CF does...
 
But this is valid for a CDN which manages all your traffic, there is also the possibility of using CDNs for part of your data, such as for emojis, fonts, coding languages, etc...
 
Back
Top Bottom