Site loading very slowly

When I test my site using the Hugo server it loads OK, but once it is deployed it to my server it loads very slowly. My sight based on Hugo’s creative template with just a few customizations, so it is very small and simple single page. I am sure that I have done something stupid and would would appreciate any tips on where to start looking.

Can you provide a link to your site?

link is

http://rklab.com.au

thanks very much

It’s your background image that is 1 of the culprits.

http://rklab.com.au/img/header2.jpg

#HUGE

4.74 MB in FileSize.
4256 px X 2832 px in Physical Size.

Use http://www.picmonkey.com/ or something similar to resize it. http://www.picmonkey.com/ also helps save on filesize without noticeable loss in quality.

As @shiva says, it’s your gigantic background, haha.

If you’re on Mac you can also use ImageOptim to optimize images. You might also consider making the background monochrome to reduce the number of colors and side.

Generally speaking, you might want to look into some .htaccess optimizations, if you’re hosting on apache. This is mine, highlighted at the area that might help you:

I got it from the html5 boilerplate and made adjustments from there.

1 Like

Thank you everyone, I will get that done. Really appreciate your help.

1 Like

Your site headers show your site is hosted on apache, so the compression tricks in .htaccess may work.

HTTP/1.1 200 OK
Date: Thu, 17 Mar 2016 05:02:56 GMT
Server: Apache
X-SERVER: 1925
Last-Modified: Sun, 06 Mar 2016 23:16:24 GMT
ETag: "4996-52d69897b52d0"
Accept-Ranges: bytes
Content-Length: 18838
Vary: Accept-Encoding,User-Agent
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html