In this post, we have listed 11 easy WordPress hacks 2019 which can speed up your website.
A fast loading website is very important for SEO because Google favors a site that loads under 4 seconds.
If your website load in more than 4 seconds then you should be optimizing your website right away.
So if you are looking for some hacks to speed up your WordPress website, then you landed at the right post
So let’s get started.
11 easy hacks you should know to speed up WordPress:
WebP images to reduce the size of images:
Images make the content interesting and more readable but if done wrong, they will make your pages big in size. There are many plugins which can optimize images without giving up the quality, our recommendations are resmush.it and Short Pixel.
But the Internet is shifting towards WebP, a new image format for the web, that makes the images 23-26% smaller than PNG or JPEG in size and keeps the quality same.
To use WebP images in WordPress, use Image optimizer plugins, and Cache Plugin.
First, convert the images to WebP format by using ShortPixel or EWWW Image Optimizer. Then Install Cache Enabler (remove other cache plugins) and Enable WebP in it.
Choose Right host:
This is the one tip you might have heard hundreds of times. Because it is most important and yet many beginners choose the wrong host.
Almost all Hosting providers have affiliates program and that’s why you will find Bluehost and Hostgator in every top 10 list. Although they are not bad, they are not good either.
Our recommendation is to choose Cloud hosting or VPS over shared hosting because you get more control over your server, better performance and they are cheaper than shared hosting in the long run.
Go for Digitalocean or Vultr as hosting, and VestaCP, Cloudways, or LEMP to install WordPress on the server.
Use optimized WordPress theme:
Themes are just not about looks and features but they also affect the performance of your website. A well-optimized theme will load faster while a poorly optimized load slower even though you are using the best host on the planet.
There are many well-optimized themes on Themeforest like Newspaper and Jnews. Jivi and Genesis are the best frameworks if you want a heavily customized website.
Use Proper caching to make the reduce load time:
Caching sounds complex but it is actually a really simple way to make any site faster.
Caching is reusing data from previous requests to speed up the next requests. For example, If you enter a webpage address, then the web browser request the Web server, the webserver request WordPress and WordPress then fetch the data from Database. Caching simply reduces the steps by storing the data already in your disk (Client-Side Caching) or in the server (Server Side Caching). This way, on the next request, the data will be processed much faster.
For Server Side caching, use Nginx or Varnish. Many Hosting providers give Server-side caching like Cloudways and Kista.
Use a CDN network:
CDN or Content Delivery Network is for those websites which target users worldwide. If your Web server is located in the USA then a request from Japan will take time to process.
Lazy Load Images:
According to Google, “ Lazy loading is a technique that defers loading of non-critical resources at page load time. Instead, these non-critical resources are loaded at the moment of need. Where images are concerned, “non-critical” is often synonymous with “off-screen” ”
Try to Avoid these CPU intensive plugins:
|1. Contact Form 7.||10. Revolution Slider.|
|2. AdSense Click Fraud Monitoring.||11. SumoMe.|
|3. Better WordPress.||12. VaultPress.|
|4. Google XML Sitemaps.||13. Visual Composer|
|5. Contextual Related Posts.||14. WP Statistics.|
|6. Disqus Comment System.||15. WP-PostViews.|
|7. Divi builder.||16. WPML.|
|8. Jetpack.||17. Yet Another Related Post Plugin.|
|9. NextGEN Gallery.|
Advance methods to Speed up WordPress:
Limit Post Revisions:
Whenever you update a Post or Page, WordPress makes a copy of the previous Post or Page. These revisions are helpful but sometimes, the revisions bloat the Database. Some posts are meant to be updated every day so the number of revisions can be pretty high.
You can limit post revisions so the Database size doesn’t get big.
You can add this line in wp-config.php to limit post revisions
define( 'WP_POST_REVISIONS', 3);
Change Autosave post Interval:
While writing a post, WordPress saves the post every 60 seconds. You can extend this time to 2 minutes or more. Do not extend it too much otherwise, you can lose progress if anything goes wrong.
Add this line in wp-config.php to Change Autosave post interval
define( 'AUTOSAVE_INTERVAL', 120 );
Clean the Junk of WordPress Database:
Over time, WordPress Database gets big in size and it can cause some performance issues. You can use Plugins like WP Sweep or WP-Optimize to Optimize Database in few clicks.
These Plugins remove unnecessary data from Database, like:
|Revisions||Orphaned term meta|
|Auto-drafts||Orphan term relationships|
|Deleted comments||Unused terms|
|Unapproved comments||Duplicated post meta|
|Spammed comments||Duplicated comment meta|
|Deleted comments||Duplicated user meta|
|Orphaned post meta||Duplicated term meta|
|Orphaned comment meta||Transient options|
|Orphaned user meta||Optimizes database tables|
|oEmbed caches in post meta|
Use HSTS with HTTPS:
HSTS is a response header that informs the browser it can only connect to a certain website using HTTPS.
HSTS, not just speed up the site but also adds security to the website. HSTS is also good for SEO. Check the article on Searchengineland to know how HSTS improves speed, security, and SEO.
To activate HSTS on your site, you have three options:
- Activate HSTS through Cloudflare (If you are using Cloudflare SSL): In Crypto Page, Enable HSTS
- Contact your Hosting Provider.
- Use WP Total Cache Plugin: Go to Browser cache page and check to apply HTTP Strict Transport Security policy
- Implement HSTS through .htaccess: Add below code to your .htaccess file.
<IfModule mod_headers.c> Header set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" </IfModule>
So, these are the 11 hacks to speed up the WordPress site. If you know any other way to optimize a site then let us know in the comment section. Thanks for reading keep sharing, follow us on Facebook and Twitter and Techlurn for more latest updates.