1. Speed up Your WordPress Website with a Caching Plugin
For a free caching plugin I would recommend WP Super Cache. This caching plugin is put out by Automattic (the lovely people behind WordPress.com). It takes only a click of a button to setup.
2. Leverage Browser Caching
*Protip if you want to clear your browser cache press CTRL or CMD + F5 on your keyboard while on a website.
3. Minify and Combine CSS and Javascript Files
Minifiying means removing unnecessary characters like white spaces, line breaks, etc from code. By removing theses characters you will reduce the file size.
After minifying the code you should combine the files. Every CSS and Javascript file your website has means a new http request for the browser. When someone visits your site the browser will ask for all the CSS and Javascript files. This process can take awhile depending on how many files your website has. More requests means a longer page load time. Combine these files into one to reduce the amount of time it takes to send the information a browser needs.
Autoptimize and *WP Rocket
*Be careful when minifying and combing your CSS / Javascript files. Combing these files may not work well with all plugins and themes. Also always run a speed test to see if your website has improved from the combination of files. If your site runs off of HTTP/ 2 it may be better to not combine them. This is a case by case basis. Use this checker to see if your site uses HTTP/2.
4. Enable Gzip Compression
Gzip compression is a way to send your website page to a browser at up to 70% of its size. The browser will then decompress the information to display to the visitor. Gzip compression can be enabled through your hosting.
5. Add Expires Headers
Adding Epires headers will tell the browser if it should ask for a specific file from the server or from your browser's cache. The other thing it does is tell the browser how long to store those files for. This eliminates the need to download website files that have gone unchanged for a long time.
6. Optimize Your WordPress Database
*Backup your site before performing any optimizations to your database.*
Your WordPress database can get pretty cluttered from spam, post revisions, tables, drafts etc. Optimize your database by cleaning out these unwanted files so your website does not load them. Think of it like cleaning out your computer recycle bin. This task should be checked / performed at least once a month.
Here are a couple plugins I recommend:
7. Control the Amount of Post Revisions Kept
You can use the Revision Control plugin to help with that.
8. Use a CDN (Content Delivery Network)
A CDN takes all your website's static resource files and delivers them from other places in the world. This makes it so you do not have to worry about your website loading slow for visitors who live far away.
I would recommend you invest in a CDN if you are receiving a lot of traffic from around the world.
Cloudflare offers a free CDN.
Conclusion
I hope that these 8 tips have helped you speed up your WordPress website and if they have let me know! I'm always excited to hear about website optimization. 🙂 Please leave a comment below if you have any questions or want to say hi.
Disclaimer: Links that show (*) uses my affiliate link.
If you need help optimizing your WordPress website then let's chat.
Thanks, found 7 useful.