Integrate Stylesheets(CSS) and Scripts Properly for faster loading your website!!
Most of the web pages take 80% or 90% of their loading time depending on network. There is a powerful technique that can easily reduce the amount time spent blocked over the network and avoid serializing resource downloads.
This article shows three common patterns which escape to needless serialization and ensure parallel downloads. Parallel down load is faster then serial. A group of newer browsers set up bottlenecks. So, try to discover many effective examples in every browser to find out the real difference with best results. The version of internet explorer 7 focuses in each behavior of this article.
1. The combination of external JavaScript files
To download external scripting files are fairly unique due to make popular browsers in blocking next downloads up to the script completed. This scenario makes the whole difference to download images that can happen in parallel (till the limit).
Example 01: Two external scripts
Example 02: Two images
Follow the example 01, here images are loading in parallel motion and taking duration one second to complete. On the contrary in Example 02, scripts are taking two second to complete fully load in serialization. This is the main difference arise between a serial and parallel download.
Therefore, if you contain multiple script files then merge them together into a single file before adding in a page.
loading...
loading...









