WordPress deflate by Gzip compression with .htaccess file

WordPress GZip Compression
Best way to reduce WordPress page size is to deflate it using Gzip compression method which can be achieved by adding .HTACCESS file rules.

Deflating WordPress page is nothing but reducing and compress page size so that it can be render and download into browser at faster rate. The concept behind compressing is same as zipping and unzip the files on computer.

Browser requests a page which to which server will send Gzip file which will be of smaller size. Once the Gzip file is received on the browser, it will be unzipped and it will display complete page with same quality.

There are different methods to achieve the Gzip compression like using caching plugins, adding .htaccess rules, HTTP compression. But the best I suggest would be adding DEFLATE rules directly into .htaccess files on top or after any other rules.

So here are the .htaccess rules for Gzip compression rules:

These lines of rules deflate and compress the HTML, JavaScript, CSS, XML, and other web fonts file type to reduce the overall size of page request. Thus rendering a new page in browser will be in reduced size and downloads faster than previous.

Related:  Remove Apache password prompt for WordPress Admin

Once the new page is displayed in browser try #leveraging browser cache so that most of website static files are stored in browser cache memory. This will be helpful for returning visitors to access your WordPress blog at faster rate as most of static heavy files are already exists in browser cache. Know more about how to leverage browser caching in WordPress.

Note and Conclusion:

Due to WordPress deflation, the individual size of each page will be reduced. And this will facilitate to render your blog page at faster rate into browser and keep your visitors active. Hence it is highly recommended to deflate WordPress using Gzip compression.

Related:  WordPress Leverage Browser Caching Rules for .HTACCESS

If you have any other method for WordPress Speed optimization. Please feel free to provide your inputs in comment box, we would be very happy to listen to your experience. Thank you.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *