Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My images are loading too late, why?

I have a few js and css files that loads on the head. After the last js file there is a gap (on Firefox) of 1311ms until the browser starts to load the images.

image loading too late

Firebug doesn't show any status on this blank space.

What does it mean? Why are my images loading so late?

All images on cache, the gap is still there...

gap

Full no-cache load:

huge gap

like image 887
BrunoLM Avatar asked Aug 01 '11 20:08

BrunoLM


People also ask

Why are my images taking so long to load?

Too large image files can take a long time to load Large sized images, high-resolution images, and uncompressed images can drastically reduce the page load speed.


2 Answers

You have a 300kb JavaScript file. That's a lot of JS to parse and possibly execute. Try the profiling tool in Firebug or Chrome to see what JavaScript is being run on page load.

like image 197
Ryan Doherty Avatar answered Oct 14 '22 17:10

Ryan Doherty


there some maybe reason.

  • Those static file in many HOST, these are not in the same HOST.
  • Your browser is resolve these file slowly.
  • A javascript file in these file spending much time.

you can use some web preformance tool, like Yslow, chrome console .. to analysis this problem.

like image 30
Dreampuf Avatar answered Oct 14 '22 17:10

Dreampuf