Everyone want their website to load faster; Even no one reader want a site which takes huge loading time. A website with good loading speed always rank faster on google and provide good user expirence.
So, In this tutorial I’m going to show how can you improve your wordpress website speed.
In wordpress their are some plugins which help to improve site speed and performance, And help you to increase your Google PageSpeed.
Now we’re going to show you, how you can get the high score and how to improve Your Google pagespeed insights in WordPress.
Enable Compression :
Enabling Compression is a good way to increase website speed. It will compress HTML, CSS, XML, Plain, Favicon and other which can increase the page loading speed.
The reason behind using compressing HTML, CSS, XML,Plain, Favicon is that it will increase page loading .
You can use compression in 2 ways :
Plugin : WP HTTP compression.
Another method of enable HTTP compression is doing this manually using .htaccess file.You just have to copy and paste this code in the .htaccess file.
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_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
HTML compression reduces the size of the HTML used on the website and helps to make your website’s layout light weight. A light weight layout always loads in less than a second which you needed to get on top of the google’s search result.
It reduces the file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document.Here you can find the best two plugins to enable HTML compression.
Minify CSS and JS
Minify is a programming term that basically means to remove any unnecessary characters that are not required for the code to execute.It helps to speed up your website delete unnecessary words or character which reduce the size of the page and increase loading speed.
Minify CSS and JS make your visitors and search engines happy because fast loading website provides a good experience to the customer.
Plugin To Use: WP Minify
Optimize Database with WP-Optimize
Optimize database refers to delete the unnecessary data which doesn’t use.Unnecessary data refers to the posts revisions, auto-draft posts, and spam comments.
Cleaning these files help to empty the storage and optimise the database.
There is a plugin WP-Optimize which make the process of cleaning your database easy.
WP-Optimize is an effective tool for automatically cleaning your WordPress database so that it runs at maximum efficiency.
Lazy Load Images
Images and Iframes make your site load slow and here lazy load images plugin work.Lazy loading for images and iframes makes your site load faster and saves bandwidth. Uses no external JS libraries and degrades gracefully for non-js.
Plugin To Use: Lazy Load Image
This plugin replaces all your post images, post thumbnails, gravatar images and content frames with a placeholder and loads the content as it gets close to entering the browser window when the visitor scrolls the page.
Always Use a CDN
To minimise the distance between the visitors and your website’s server, a CDN stores a cached version of its content in multiple geographical locations.It helps to increase the loading the web page of a website by delivering the stored cache version when visitor visits a website the second time.
Suggested Read : Top 5 Best CDN Service For WordPress Blog To Speed Up Your Blog