Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
We have a problem in our website, it is loading too slow. We use xml file to display a grid of infos with image and details, but the page load too slow, we make a test and this are the results:

Link of the test

we compare 2 of our pages and both are loading slow.

Do anybody have an idea why the server response too slow. We make a tracert test and it seems to be fine.

What I have tried:

We speak with the hosting provider, and they told us that hosting is fine.
Posted
Updated 29-Sep-16 4:56am
v2
Comments
Karthik_Mahalingam 29-Sep-16 0:53am    
what about bandwidth?
Bernhard Hiller 29-Sep-16 3:06am    
Are you sure it is the actual page load? What about the transformation of XML with an xsd to html for the purpose of displaying it?

1 solution

So a few odd things I see in firebug are the following

Firebug - Page load

Your initial page load is taking 7 seconds with what should take milliseconds.

Firebug - Network tab - Response[^]

So then on the Net tab in firebug, you can view the response. Looking at the response this is what is likely a cause of your issue. It appears to be your page but passed back in bytes? It is huge and I cannot copy and paste it. But firebug gives me the option to view the response in a new tab and when doing so the URL looks like this:

Your site URL in bytes[^]

So i think you are trying to do some dynamic loading or something that is causing your site to be super slow. I know nothing about your project but given the little poking around i've done...that second and third images are likely the culprit to your slow page load times. Also side note, when i try to view source on the third image, my browser crashes.

I would rethink your approach of how you are dynamically loading your website for starters. Then do a google search on how to optimize website load times as you can move some of your javascript down to the bottom of your HTML, then also minify css/js files to get them smaller to start.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900