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


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 Conferencing and social media domain. The motive of creating cutehits was just to share the knowledge/solutions I get to know during my day to day life so that if possible I can help someone for same problems/solutions. is a really a very effort for sharing knowledge to rest of the world. For any query/suggestion about same you can contact me on below details:- Email: shekharmca2005 at Phone: +91-9560201363

Latest posts by Chandra Shekhar (see all)

You may also like...