Slow loading homepage..

Slow loading homepage..

Author
Discussion

BertyFish

Original Poster:

618 posts

164 months

Monday 20th March 2017
quotequote all
Its a website ive made myself but i have a few customers saying the loading speed of the homepage is slow.

Most of the images are saved as pngs, this is so i can have a file like vector they show the background and it
does not upload like a flat jpeg with white surrounding the image.

If i remember correctly people can find out which images are making the load up time slow?

Not a thread to get traffic to the site, just some helpful input - www.threefish.co.uk


ecs

1,228 posts

170 months

Monday 20th March 2017
quotequote all
It's built with Wix and requires a 4.5mb download before the content can be rendered as everything is done using JavaScript. It has 158 separate JavaScript files to download separately too, it uses HTTP/2 which can reduce the impact of this, but downloading 158 separate files before being able to render anything is still excessive.

To put things simply; The download size for the page is massive, there are too many separate files to download and it relies on JavaScript which won't run until all those files have been downloaded and initialised.

Edited by ecs on Monday 20th March 09:18

BertyFish

Original Poster:

618 posts

164 months

Monday 20th March 2017
quotequote all
Cheers,

You lost me a bit at the start but i get the idea.

So its not all down to the size of the images its more the amount of files/images?

crmcatee

5,694 posts

227 months

Monday 20th March 2017
quotequote all
My count makes it 248 files and 10.5Mb for a front page! It would have been 251 files but three are in error.

No, just no.


BertyFish

Original Poster:

618 posts

164 months

Monday 20th March 2017
quotequote all
I understand that wix is frowned on in webdesign but it was just something i could design myself and change
things around easily when i need to add text/images.

So its a no hoper at the moment unless i really simplify it?


ecs

1,228 posts

170 months

Monday 20th March 2017
quotequote all
Yup, think you've understood it right - the size is very important as the page won't show properly until everything is downloaded, the number of files is also important as it takes a little bit of time to setup the download and process the file.

Fixing it while it's on Wix is a probably impossible. They let you design your site in the browser with the trade-off of not being able to do anything about solving issues like this.

crmcatee

5,694 posts

227 months

Monday 20th March 2017
quotequote all
You don't have a lot of choice really - you've only got less than 10 images on there and some text - the rest of it is taken up loading javascript and various other files from about 20 different domains.

BertyFish

Original Poster:

618 posts

164 months

Monday 20th March 2017
quotequote all
Maybe some kind of easy quick loading landing page so people know it is live and dont get bored of waiting for
what they think might not be live?

Always going to be slow loading the actual homepage but alot of work which i dont have time for just now,
or make do and redesign the whole thing on another program, with the same amount of info wordpress would load quicker?

Sorry for all of the questions.

ecs

1,228 posts

170 months

Monday 20th March 2017
quotequote all
Not completely sure how Wix works, but I think you're stuck with how it is on there. Something powered by a different technology would be quicker as you could use plain HTML and CSS for the layout and JavaScript for any special logic (instead of using it for rendering the whole site which isn't necessary for this sort of thing). Something like WordPress would do it if you wanted DIY, though it's pretty slow and crappy in the grand scheme of things. If you were paying someone else to do it then I'd either go fully static for the website and use a platform like Medium or Tumblr for the blog. Or, have it built using Craft or Statamic which are both excellent, modern CMS's.

akirk

5,389 posts

114 months

Monday 20th March 2017
quotequote all
took nearly a minute to fully load on our fast broadband - but the page was visually loaded (i.e. all a client would care about) within 14 seconds...
however many of your clients may well be on much slower connections...

you need to make a commercial decision based on how you source your work - if it is predominantly from or including your website, then invest to have a proper website built - if the website is less relevant, don't overly worry

Frimley111R

15,646 posts

234 months

Monday 20th March 2017
quotequote all
Didn't seem too slow for me.

ecs

1,228 posts

170 months

Monday 20th March 2017
quotequote all
cluckcluck said:
It might be worth asking their support if there is a way you can have 1 or 2 compiled javascript files instead of a huge list of JS files to load.
Thinking about it, putting it behind CloudFlare might help as it does those things. It might not be smart enough to cope with Wix though!

Phateuk

751 posts

137 months

Tuesday 21st March 2017
quotequote all
The issue is further compounded by each js file taking over 150ms - are their servers in the US?

BertyFish

Original Poster:

618 posts

164 months

Tuesday 21st March 2017
quotequote all
Thanks for all of the help

Ive sent an email to wix with all the information given regarding load time, 246 files with 158 being javascript.

This means that your page is loading in total approx 246 different files, with about 158 of those JS files.

Asking if possibe to have 1 or 2 compiled javascript files instead of a huge list of JS files to load.

Each Javascript file is taking over 150ms and with 246 of them its killing traffic and customers on my website.

I added the image above.

Hopefully im asking the right questions. I will let you know what they come back with although i doubt they will admit to it being a problem their side.


otherman

2,191 posts

165 months

Tuesday 21st March 2017
quotequote all
There's no problem with your host, I'd say, because the time to first byte is excellent. It's all about the time taken to load the page itself as others have said. A simple thing to do would be reduce the size of your images so that the native size is the same as the dispayed size - I could get those down to about 10% of the file size and they'd look the same on the screen.

Wombat3

12,142 posts

206 months

Tuesday 21st March 2017
quotequote all
Run a test on GTmetrix.com, it will tell you a lot

I have site running using wordpress (much frowned upon by the "purists" but I use it because I can make it work).

A few month ago I moved it to a new web host & the difference has been enormous. It was on TSO (paragon), its now on Siteground.

davepoth

29,395 posts

199 months

Tuesday 21st March 2017
quotequote all
Couple of things immediately. Get rid of that image gallery thing and pick the best picture to put there as a static image. That'll stop it from loading a few things straight away. Ditto whatever it is that's supposed to be in an overlay on the right hand side - it's not loading for me anyway, but it's taking about 30 seconds to fail.

In essence, any animation, fade in, fade out, movement, or anything dynamic on the page is dynamic because it has a bunch of slow loading script behind it. If you strip it all out the page will load much faster, and I doubt many people would even notice the change.

the other thing is that in the first paragraph on the front page (the one about making a good first impression!) you need to use either "it's" or "it is". Since it's a reasonably formal bit of writing I would go with "it is".

LDN

8,911 posts

203 months

Thursday 23rd March 2017
quotequote all
Seperate from anything else; nice looking site! Loads quickly on my iPhone over 4G.