Website Optimaztion Tips and Techniques

Website Optimization is a process which makes website speed faster on web browsers. Faster speed means faster response time and faster response time means minimum waiting time for websites customers or viewers. The least time a website takes to open the most it understood efficient.

Website Optimaztion Tips and Techniques

*. CSS Based Optimization : -

Below are the some trics that needs to be taken care while doing CSS based optimization.

  • CSS shouldn’t have any looping

  • Remove unwanted codes which are not in use

  • See inheritance of CSS classes

  • Minimum rule to be applied

  • Don’t use baground images using CSS

*. Server Based Optimization:-

  • Use compressed images don’t use uncompressed images as uncompressed images are very high in terms of their size. The more size an object have the larger time it will take to get displayed on browser.

  • Enable gzip compression on server

  • Enable pagespeed module of apache

  • Use cache at application level

  • Minimize use of images on site

  • Use images with 80% resolution and also remove other info related to images while using on website

  • Check header expiry

  • Use leverage browser caching with http keep alive

  • Enable mod_cache on server

  • Check proper characterset

  • Mod_deflate should be enabled

*. Js Based Optimization

  • Use js from some files only i.e., don’t use inline javaseript

  • Merge all JS files into one

  • Use asyn/defer tag while calling javascript files

Don’t do during Site Optimization

  • Avoid using @import in css

  • don’t write css inline

  • Don’t write js inline

 

Related posts:

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video... Read More about Chandra Shekhar

Latest posts by Chandra Shekhar (see all)