Hi folks,
Improving the performance of a website has haunted the programmers for a long long time. In this post I would try to make it a little easy. But before you could start making super fast websites, you need to know how page request and response takes place. Because code might not be the only culprit in every case for slow websites.
Here are few reasons which might result in slow websites:
1. SQL Queries
2. Non indexed database tables
3. API calls in looping sequences
The above reasons will result in slow response from the server. During this you will keep on seeing "waiting for www.yoursite.com" in the status bar of your browser for a long time.
Finally, when the "waiting.." stage is over but still the actual page takes time to get downloaded in the browser, then following might be the reason:
4. Heavy CSS and Javascript files
5. Too many images
6. Extensive DHTML processing loops
In this post I will discuss the 1st three points, remaining I will discuss in future posts. So coming to our first point:
Improving the performance of a website has haunted the programmers for a long long time. In this post I would try to make it a little easy. But before you could start making super fast websites, you need to know how page request and response takes place. Because code might not be the only culprit in every case for slow websites.
Here are few reasons which might result in slow websites:
1. SQL Queries
2. Non indexed database tables
3. API calls in looping sequences
The above reasons will result in slow response from the server. During this you will keep on seeing "waiting for www.yoursite.com" in the status bar of your browser for a long time.
Finally, when the "waiting.." stage is over but still the actual page takes time to get downloaded in the browser, then following might be the reason:
4. Heavy CSS and Javascript files
5. Too many images
6. Extensive DHTML processing loops
In this post I will discuss the 1st three points, remaining I will discuss in future posts. So coming to our first point: