Statement - Website Optimization Techniques
Solution: Use below tools to optimize the site performance.
Solution: Use below tools to optimize the site performance.
- First test your webiste on 2 speed test website
https://gtmetrix.com/https://www.webpagetest.org/ - From the above test you can find how many resources are loading and which resource request is blocking more time
- the easiest thing you can do to reduce the website size is web optimizing the images, you can use the save for web option in photoshop or use some online compresser like optimize and compress your images and photos
- Second method which you can use to remove request blocking is using async loading of images and styles and js
I use the following library for this purpose pazguille/aload - Combine multiple styles sheets and js into a single file and minify them ands load them using the above async method
- Elable gzip compression in htaccess
Enable gzip compression | GTmetrix - Elable browser catching in htaccess
Leverage browser caching | GTmetrix - When you test your webiste using Website Performance and Optimization Test, it will show you the first byte time. its the first byte of data which you get form server usinmg this you can check if server is slow and see if it can be improved
No comments:
Post a Comment