Optimize your wordpress website 2019

optimize your wordpress website to rank higher

Are you a blogger using a wordpress website ? You might be facing issues with performance of your website. When you test your website on GTMetrix.com or Pagespeed insights, it shows a long list of suggesions like serve scaled images, optimize images and blah blah blah.

So, in this article we’ll be solving this kind of issues in your wordpress website

Optimize images

optimize images to improve your website performance

It means that same quality of images can be seen in a smaller file size. So install the plugin called optimus and optimize your images all together.

Serve images in Next-Gen Format

The format of images also plays a vital role in the performance of your website. Consider using modern image formats like webp, jpeg 2000. These formats provide better compression ratios as compared to traditional formats like jpg, jpeg, png etc.

Oops, Actually you can’t upload webp images directly in wordpress.

All you need to do is install and setup the wordpress plugin webp express to serve webp images in wordpress.

Use Progressive Jpegs

optimize your website using progressive images

Normal jpeg images load from left to right in a row and then top to bottom. In case of progressive jpeg images, whole image loads once in low resolution, and slowly gets clear after few seconds.

Optimize CSS and Js

It says that the CSS and Javascript files can be minified or combined to get the same results in smaller file size. To avoid this problem, install the plugin called Autoptimize

Leverage Browser Caching

It means that certain file types should have a specific expiration time set to tell the browser to save that file in cache, to make your website load faster. The plugin Autoptimize clears this problem also.

Enable Gzip Compression

enable gzip compression to optimize your wordpress website

To serve your content more efficiently, you need to enable Gzip compression in your website. In a wordpress website, you can simply insall the plugin enable gzip compression.

What if I’m having a Non-wordpress website ?

You can enable compression manually also by editing the .htaccess file

To enable Gzip compression, just paste the code in your htaccess file

# Enable 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>

But how will you check if Gzip compression in enabled or not ?

You can simply use the Gzip Compression Testing tool


Remove query strings from static resources

Query strings are the urls like https://itgiggs.in/js/extra.js?ver=v45 . You need to avoid them and fix them to make your website perform better.

Did we miss anything ?

If we missed something in the article above, please leave your valueable feedback in the comment section below

Reference Links : https://varvy.com/pagespeed/enable-compression.html

Add a Comment

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