Reducing Your web page size will improve the page load time. Thanks to GZIP, the software application developed by Jean-loup Gailly and Mark Adler , when installed on server will significantly reduce the page size.
You can check whether GZIP is enabled on your server by checking your web page on checkgzipcompression.com.Sometimes even though there is GZIP installed in your server, your website might not be using it. Enabling GZIP Compression can reduce page size by 70% and speed up the page loading for users.
If it is Apache webserver, add following script in .htaccess of your website to invoke GZIP compression.
After uploading the .htaccess file, do a GZIP compression test by clicking here or by loading https://varvy.com/tools/gzip/
If this did not work, then try following code instead and do the GZIP test again.
GZIP compression is highly recommended action for SEO optimised landing pages. Quick loading of pages is one among the criteria for perfectly optimised pages.
References:
You can check whether GZIP is enabled on your server by checking your web page on checkgzipcompression.com.Sometimes even though there is GZIP installed in your server, your website might not be using it. Enabling GZIP Compression can reduce page size by 70% and speed up the page loading for users.
If it is Apache webserver, add following script in .htaccess of your website to invoke GZIP compression.
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
After uploading the .htaccess file, do a GZIP compression test by clicking here or by loading https://varvy.com/tools/gzip/
If this did not work, then try following code instead and do the GZIP test again.
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
GZIP compression is highly recommended action for SEO optimised landing pages. Quick loading of pages is one among the criteria for perfectly optimised pages.
References:
- Wiki Page for GZIP : https://en.wikipedia.org/wiki/Gzip
- https://checkgzipcompression.com
- https://varvy.com/pagespeed/enable-compression.html
- https://varvy.com/tools/gzip/