Categories
WordPress

Make Your WordPress Blog Load Fast by Using Gzip Compression

WordPress is the most comonly used blogging platform, a lot of poeple use it. You can make it load faster by compressing the files by Using Gzip Compression. This compression makes your file size way less than it wver used to be. It compresses your CSS and Js files

It generally reduces the response size by about 70%. Approximately 90% of today's Internet traffic travels through browsers that claim to support gzip.

So How to do this?

Just go to your cpanel and in the root folder where your blog files are present open .htaccess file and at the end add this

 

# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
# END GZIP

By Freakify Editorial

The post was written by the Freakify Editorial Team.

Freakify.com used to be managed by Awais, Maedah and their team before its acquisition.

4 replies on “Make Your WordPress Blog Load Fast by Using Gzip Compression”

Thanks so much great plugin, but i wish you can take a screenshot or make a video on how this script can be injected in ones cpanel from the root folder

Its will certainly help especially for those with know complex coding or programming skills and knowledge

Ok let me explain !
Log in to your cpanel >> Go to  File Manager >> Then you will be at the root folder , where folders like pw-content, wp-admin etc are preset OK? Now just after the folders you will see a file named as .htaccess , you have to edite that file and put this piece of code in it. at the end.

If you don’t see your .htaccess file, you have files hidden. Then

 

By default, when you use the File Manager in cPanel, it does not show hidden files. Hidden files are any file that begins with a dot, such as .htaccess. .htaccess is actually a common file to edit, and so if you would like to edit the file using your File Manager, you’ll need to ensure you have the option selected to show hidden files.

How to show hidden files in File Manager

  1. Log into your cPanel
  2. Click the “File Manager” icon
  3. Ensure “Show Hidden Files” is selected
  4. Click “Go”
Select the option to show hidden files:   This will now show you dot files!
how-to-show-hidden-files-within-the-cpanel-file-manager   file-manager-showing-hidden-files-htaccess

 

More instructions how to do it are here (http://www.webhostinghub.com/support/website/how-to/how-to-edit-your-htaccess-file)

 

GZip is great for reducing transfer size however comes at the expense of increasing server load. Considering the widespread use of broadband and the cheap bandwidth available, as your site grows it may be better to abandon GZip.

Comments are closed.