Have you ever tested your website speed? Either using Google Page Speed Insight or Pingdom, then you might have seen few issue which should be fixed for making your website faster. Then you might have seen the Big Yellow Leverage Browsing Caching warning.
In case you are not aware of it. Check out the screenshot below.
1. Check the Speed of your website
2. Leverage Browser Caching Warning
You can use Gzip Compression for Solving this issue.
What is Gzip Compression?
Gzip is a method of compressing files (it makes file size smaller) for faster network transfer. It is also a file format.
Compression of files allows your web server to provide smaller file sizing which load faster for your website users.
How To Enable Gzip Compression?
Compression can be enable by adding codes to a file .htaccess on their web server. It mean you have to access this file using your cpanel.
The .htaccess controls many important things of your website . Below are the codes which should be added to .htaccess file..
After adding this code to your .htaccess file save it and refresh your webpage.
If you want to check whether Gzip is working or not. You can check using Gzip Compression Tool
Enable Gzip Compression for NGINX webservers
If you are using NGINX server then you need to add below code to your cong file.
Enable Compression On Apache Server
The very first code will work for Apache web server But in case it wont work then replace this code to the existing code..
Hope above method had solved your issue. If you have any query related to this article kindly share your comments.