Mobile app version of vmapp.org
Login or Join
Nickens628

: Images Loading Very Slowly I'm currently working on optimizing my site to try to decrease load time by using Pingdom tools. I seem to be having some difficulty with long load times on images.

@Nickens628

Posted in: #Images #Optimization

I'm currently working on optimizing my site to try to decrease load time by using Pingdom tools. I seem to be having some difficulty with long load times on images.

For example, the body background for my site is a 29kb file but takes almost 500 ms to load, the majority of which is spent connecting to the server. This one seems to take the longest times but other images seem to take a lot of time as well—the majority of which seems to be spent connecting to the server.

This also seems to fluctuate as I've seen the same image load in 500ms one minute and ten minutes later load in 1.5 seconds.

My site is using the Modx CMS but I'm not sure if that would affect this at all. Is it more likely that this is a server issue? Is there anything that I should check or do to help alleviate these inflated 'connect' times?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Nickens628

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

Simple answer, sign up to cloudflare.com. It's a free CDN that will also do things like optimize your site. We use them on a few sites and they do a good job.

10% popularity Vote Up Vote Down


 

@Yeniel560

Since the majority of time is spent connecting to the server (also known as Time To First Byte), there is likely a problem on the server somewhere.

If the images are served through some server-side code (e.g. PHP) then obviously check your script for optimisations you can implement. If you are simply serving files direct then it could be a problem with .htaccess files - maybe you have too many rules that the server is trying to process in each request.

Another solution is to use a Content Delivery Network such as Amazon AWS. They serve the images from as close to the visitor as possible.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme