Do you know a slow website kills conversion? 47% of customers expect a website to load in two seconds at the very most. 40% will abandon it altogether if it takes longer than three.
So let's discuss what makes your website slow and we can fix it.
- Check your image files that are above 1 MB is totally unacceptable.
- Use JPEG instead of PNG, especially for large images.
- Use the waterfall test to easily scan your site and suggest corrective actions.
- Asynchronous loading is a must.
- Use Google Tag Manager or Segment. A single script for all your tools.
- Look for HTML5 replacements.
- Use Sprites to reduce HTTP requests.
- Reduce the number of total files the user will have to download.
Note: If you can cache something then do it. But do it carefully so you don't mess with something which can raise "cache invalidation" error.
- Don't be lazy and use inline CSS when possible.
- Use G-Zip compression. It wraps all your files into a single container so the server response fast.
- Ads requires additional HTTPS request so it increases the load time.
- Use CDS'N service. CDN helps to cache your whole website into various node servers available across the globe so your website loads fast.
- Examples: Cloudflare, Fastly, Akami, etc.
- Choose the hosting carefully. Use Netflix or Vercel for static hosting
Thanks for reading here.
I am new to this blogging kind of stuff. So I hope you will forgive my mistakes.