Server technology affects web page loading in a browser

I noticed that various technologies affect the loading of a web page on the screen. That is, a transition from a blank screen (or other web page) to the requested web page. In fact, I can literally say which stack is being used by just noticing how the page loads.

  • The asp.net/iis pages seem to have more pause and then load everything all at once into a jerky flash.
  • php / apache is very fluid and smooth, seeming to gradually load from the top element down.
  • ruby on rails is a cross between the two, there are separate sections of the page loaded at a time, but quite smooth.

What influences this? (compiled vs is interpreted? when does css load? how do images load?) Can it be controlled in asp.net or iis? What HTTP concepts is this related to?

+3
source share
1 answer

You have received several broad, broad generalizations, but overall this is true. Usually this is not related to real server technology - for example, you can host PHP in IIS, but with page generation tools - scripting language and frameworks.

Using tools like Firebug and Yslow, you can see what is happening, and there are a lot of tips.

, ASP.Net , , , HTML-ASP.Net. webforms "form" HTML JavaScript . ASP.Net MVC , , , , . ASP.NET YSlow, .

PHP- - 4 MVC, , . , - , , - .

, Ruby - , , / view/controller . , , .

0

All Articles