How to Speed up or optimize WordPress Website

Posted By : Babita Arya | 10-May-2021

How to speed up your WordPress website:


Before we glance into the WordPress speed optimizations, it’s important first we'd wish to know that not all WordPress sites are the same. this is often why tons of users face this problem, as you can’t set about tackling every issue an equivalent way.
WordPress sites are classified into two categories:
1. Static websites
2. Dynamic websites


So let’s first learn the differences between these two sorts of sites.
1. Static websites :
Static sites include sites like blogs, news, small business sites, lower volume news sites, personal, photography sites, etc. By static, we mean that the info on these sites isn't changing fairly often 
2. Dynamic:
sites like eCommerce (WooCommerce or Easy Digital Downloads), community, membership, and learning management systems (LMS). By dynamic, we mean that the info on these sites is usually changing.


Some of the key points to optimize or speed up your website:
1. Choosing a WordPress theme :
A WordPress theme plays a key role during a website load speed. If you propose to make a blog, we recommend doing the research and testing to seek out the lightest and therefore the most optimized theme.
Some WordPress themes which are quite eye-catching initially glance can actually make your website load more slowly than it should be.
Several useful tips to assist you to decide on the simplest theme for your WordPress website read carefully:
1.1 The simpler the theme, the higher.
1.2 Choose a topic with a responsive design so you do not need to add extra code.
1.3 Attempt to choose only plugins compatible together with your version of WordPress
1.4 Concentrate on the presence of page builders which accompany the theme otherwise you also can choose the other builder.
1.5 Consider SEO friendliness of the theme using Yoast SEO or other plugins.


2. Optimizing your site images:
Image optimization is another important thing you'll do which features a significant impact on your overall page load times. This isn’t optional but every site should be doing this!
Large images hamper your sites which creates a but optimal user experience. Optimizing images is that the method of compressing file size, using either a plugin or code, which successively accelerates the load time of the page.
Before you begin editing or compressing your images, confirm you’ve chosen the right file type. There are the best two sorts of files you'll use:
PNG – produces better quality images, but also has larger file size. Was created lossless image format, although it also can be lossy image.
JPEG – uses lossy and lossless both optimization. you'll adjust the quality level for an honest balance of quality and file size. Ideally, you ought to use JPEG (or JPG) images with many color and PNG for easy images.


3. Using caching plugins on website:
There are a variety of WP plugins are in use, and therefore the overwhelming majority of them improve the page load time.W3 Total Cache, WP Super Cache, and more are the foremost popular cashing plugins also as OPcache and Autoptimize.

4. Using browser cache in your website:
The Expires header may be a thanks to specifying a period of caching the static content of the website (CSS, Javascript, images, etc.) within the visitors' browsers. this may significantly hamper the online site load time for your regular visitors.
you can just copy and paste the next code in your root .htaccess file:
ExpiresActive on
ExpiresByType image/jpg "access plus 60 days"
ExpiresByType image/png "access plus 60 days"
ExpiresByType image/gif "access plus 60 days"
ExpiresByType image/jpeg "access plus 60 days"
ExpiresByType text/css "access plus 2 weeks"
ExpiresByType image/x-icon "access plus 2 weeks"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType audio/x-wav "access plus 1 month"
ExpiresByType audio/mpeg "access plus 1 month"
ExpiresByType video/mpeg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/quicktime "access plus 1 month"
ExpiresByType video/x-ms-wmv "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType text/javascript "access plus 2 weeks"
ExpiresByType application/x-javascript "access plus 2 weeks"
ExpiresByType application/javascript "access plus 2 weeks"


The values are often changed according to your specific requirements.


5. Homepage optimization:
The first thing people see on the web site is that the home page. it's vital to concentrate to its proper optimization.

Some HTTP requests are performed by the browser to load your website content, the faster your pages load for the visitors. Which means the content displayed on the website is fetched by some other HTTP request from the server to the user's browser.


6. Eliminate render-blocking JavaScript and CSS :
While checking websites using Google Page Speed or GTmetrix, you'll see one or more notifications with a red exclamation mark saying "Eliminate render-blocking Javascript and CSS in above-the-fold content". this suggests that none of the above-the-fold content on the page could be rendered without expecting the resources to load.
This can be resolved by minfiy your javascript and CSS like removing the blank spaces from the files. 


Finally, once of these measures are implemented, you'll check the optimization level of your WordPress website with GTmetrix plugin, https://gtmetrix.com/ or https://pagespeed.com/ for WordPress and luxuriate in the scores you earned!
 

About Author

Author Image
Babita Arya

She has the knowledge of PHP, Wordpress, HTML, CSS, Bootstrap, JavaScript. She is a quick learner and tries to learn as much as possible.

Request for Proposal

Name is required

Comment is required

Sending message..