How To Accelerate Loading Wordpress With Gzip Compression - KhalistaBlog -->
Skip to content Skip to sidebar Skip to footer

How To Accelerate Loading Wordpress With Gzip Compression

How To Accelerate Loading Wordpress With Gzip Compression - This time I will give a tutorial to speed up loading your wordpress by using Gzip Compression. If you want to know more about gzip compression, how it works and why it's great, Please read this article to complete and do not forget in practice.

How To Accelerate Loading Wordpress With Gzip Compression

Gzip Compression allows on your site to dramatically reduce the amount of data sent from your server to the browser's visitors, thus increasing the loading speed on your website page.

Benefits of Using Gzip Compression

  • Make visitors feel enjoy, because there is no need to wait 10 seconds to load every page of your website.
  • Bonus SEO, search engines also prefer sites that have fast loading
  • Reduce the server load: your server will no longer process large data requests

How to Enable Gzip in WordPress

There are Some plugins to enable gzip, but my preferred method is to just add a few lines directly to the .htaccess file

Copy the following code in your htaccess file.
# compress text, html, javascript, css, xml:

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
AddType x-font/otf .otf
AddType x-font/ttf .ttf
AddType x-font/eot .eot
AddType x-font/woff .woff
AddType image/x-icon .ico
AddType image/png .png

Results After you compress you can check the results here

By using the Gzip Compression Plugin

Installing this plugin is quick and easy:

  • Download the WordPress Gzip Compression plugin.
  • Extract the ZIP archive on your computer to get the ezgz folder.
  • Upload the ezgz folder to your wp-content/plugins directory.
  • Activate the plugin on your ‘Plugins’ page in the WordPress dashboard.

Will it speed up my WordPress website?
Yes, absolutely. The gzip handler compresses output before it is sent to the user’s browser so the user downloads less data and the browser then processes the compressed data.

A few short articles about How To Accelerate Loading Wordpress With Gzip Compression, hopefully can be useful and good luck.

Post a Comment for "How To Accelerate Loading Wordpress With Gzip Compression"