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
Chandra Shekhar
Latest posts by Chandra Shekhar (see all)
- Best practices for micro service design - January 23, 2022
- Spring Boot - January 23, 2022
- Java - January 23, 2022
Recent Comments