0

I have a simple html page that embeds an swf, that downloads other xml, swf and image files. The total count of the requests reaches about 90. I am aware that it should take a while until the content is available and I am OK with that. All the needed files are hosted by two different providers in the US: flashxml.net/monochrome-demo.html and u1.flashcomponents.net/samples/8751/index.html From two different countries in Europe, the content shows up a lot later (almost twice as later) from flashxml, than flashcomponents. I've done mtr tests and the ping difference is about 40ms and the flashxml server load is below 1.

Do you have any other suggestions as to what should I look at?

  • 3
    90 HTTP requests are needed to load that page? I don't care what CDN you use, that's gonna have a huge impact on your page loading speed. You need to cut that number down by at least 80%. Are you using CSS sprites? Have you consolidated JavaScripts and CSS files? Are you only downloading content you need? Or are you fetching data that might be necessary a fraction of the time? – John Conde Oct 14 '11 at 16:19
  • 1
    I think you've found the problem there. Each load has it's overhead an all those 40ms differences add up. – paulmorriss Oct 14 '11 at 16:21
  • I made my comment an answer since it probably is the answer, or darn close to it. – John Conde Oct 14 '11 at 16:26
0

90 HTTP requests are needed to load that page? I don't care what CDN you use, that's gonna have a huge impact on your page loading speed. You need to cut that number down by at least 80%. Are you using CSS sprites? Have you consolidated JavaScripts and CSS files? Are you only downloading content you need? Or are you fetching data that might be necessary a fraction of the time?

| improve this answer | |
0

I realized that the problem was the lag between my US server and my location. All those couple of milliseconds added up to seconds with so many requests. After moving my files to Amazon Cloudfront, the lag decreased considerably and now the loading time is still pretty high, but a lot smaller than before.

In case anyone else find himself in the same situation as I am, he may want to consider using a CDN.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.