Website Performance boosting Tips
All functional and design efforts on a website are not worth untill its performance is good.This article is about website performance, containing 15 easy guidelines. If taken care by developers, can boost their website performance upto a desirable level.
These tips are not restricted to any programming language.These can be implemented with any website developed using any technology.
1.) If same data is required among multiple users, Caching can be used. Cache stores the data on application server's cache memory. So each time when a request is made the data will come from cache memory than Database.Example, On a particular page load you want a grid of multiple records to be loaded and data to display is same for all the users.In such scenario you can place the data in cache memory. It will boost the performance to a certain height.
2.) Make JavaScript and CSS external.Make internal only if they are too small.
3.) Bundling and minification - it will club all the script and css files into bundles. Example : if there are 10 JS files, if you create a single bundle server will hit once instead of 10 times to get these files.Same is the case with CSS. Besides it will minify your files, meaning will remove unnecessary spaces and line breaks.
4.) If not using Bundling, atleast go for minification on production.You can minify your files online.There are lots of online converters for the same.
5.) Use compressed images.Make use of Image Sprites, which allow you to combine several images into one. From there, you can use CSS to extract the portion of the combined image to render .It will also reduce HTTP request count.
6.) Place all scripts at bottom of page right before closing of body tag (