Sometimes it takes a lot of time, to load the backgrounds. (okay, the website has to load 7 fullscreen backgrounds, but mostly they loaded in about 5 seconds. But sometimes the website takes 30 seconds or more to load...)
If you go to "projecten" and select a project, the project images are also loading slow. while those images are about 70kb or less? Sometimes 8 seconds for a 50kb image...?
I'm loading the images trough ajax with Jquery. Maybe there's a download limit? I can't imagine that?
You have no less than 50 requests (that means 50 different things to be loaded), what else do you expect? And you images are not "70kb or less", you have 3 files about 80KB, 3 files over 150KB, and even 2 files over 200 KB. The total of your loaded files is of 1.4 MB, which is a little bit heavy, don't you think?
Keep in mind that the files are loaded and displayed in the order of their size (in KB), the heavier the latest, thus a heavy background file will be the last to be loaded. So, it will wait till everything on the document is loaded, to be finally loaded, on its turn.
I think it's strange, that the loadtime is very inconsistent. One time it loads in 5 seconds and the other time in 30 seconds, or more.. (with deleting cash before visiting) What do you think of this?
The loading time depends on many things: the browser, the CPU's effort, the LAN's speed (which always is variable, depending on how many users access it at the same time), the provider's capacity... And even so, if all the parameters are the same, the speed will always be different, because the data transmission is not linear across the Web.
All your information is split, at Start, like the wagons of a train. Except that each wagon is sent in a different direction, all over the WW network, following not always the nearer Node, but the most un-ocuppied at that moment.. The wagons are re-assembled only at the Arrival, and they are displayed only when the "team" is complete. That multiple spreading of the information through the web makes the speed to be different each time. If the volume of the information is high, the differences could be considerable.
I tried to reduce the number of request and ended by a total of 40 requests.
In a previous post of you, you talked about my images that are over the 200kb.
I know that, but i meant the gallery projectimages, when you select a project. those images are about 70kb or less each. the total gallery "package" per project is around 200kb to load. Those images are loaded trough ajax, so the rest of the page is already loaded. Still, some images are taking a lot of time to load.
If your on a "Shared" server, I would complain to your provider because someone else may be causing the server load to slow your site down.
This is a common problem with shared servers, it may be an indication that the new anti-social neighbor is hogging server services at the cost and expense of everyone else ot a neighbors site got hacked and the new squatter is causing mayhem.
Whatever the scenario, your paying for web hosting, you are entitled to some service and a quick email to complain about loading times and that the server is sluggish should prompt the company to look at the bandwidth hog. For all you know it may be a hack attempt on that companies server that eating all the bandwidth.
My server is on a shared server but despite the average load of 1 Meg to 1.5 Meg, load times are not impacted despite the site currently containing nearly 4 Gigbytes of archives, we see no impact on service and our host has not complained about our loading.
IMHO give your host a prod if your close enough otherwise a well crafted email will get some action. You will likely encounter the "Service Requests" and loggin in to the USER CP and have to go several bouts of emails to get refereed to tier 2 support before your complaint is escalated to tier 3 when you have moaned at someone on the phone from lack of movement on this issue.
I am not expert when in comes to codes but i have to say that the content of the site such as the size videos if there is or picture can affect the loading time of the website. Of course the PC performance and the internet connection too! You can try asking the custom web design firm as well.