OK, so you might have been at a WordCamp listening to talks or reading a few blog posts and you get that you should really get your WordPress site speed optimized. Starting all over isn’t either tempting nor something you have the time for. Don’t despair, you’ll get a long way by installing 5 plugins.
Of course, you’ve checked your site with the available tools like GTMetrix, Pingdom Full Page Test, Google Pagespeed Insights and Webpagetest. Unfortunately the scores are not as optimal as you now know they should be, and you’re not quite sure where to start.
Much about what you’ve heard and read is about building things the right way from the beginning, but you don’t have the time to that now. Luckily there are a few solutions that will do a pretty decent job for your site with very little effort on your site. You can go through all of these in your lunch and still have time for some slacking.
So, get started, install these 5 plugins:
1. Decrease number of requests with Minit
2. Minimize the requests with YUI Compressor for Minit
Install YUI Compressor plugin for Minit if your server have Java available. Otherwise you can use the pure PHP version available here.
3. Optimize your images with EWWW Image Optimizer
Install EWWW Image Optmizer from the WordPress.org repository. Make sure you go to the options pages and tick the option to strip all metadata. Now go to the media library and select «Bulk Optimize». This might be a little hard on your server’s CPU, but it’s a one time operation as all new images you upload will be optimized on the fly.
4. Lazy load resources with BJ Lazy Load
Don’t load resources before you need them. Images that are «below the fold» don’t have to be loaded before the user scrolls down the page. I created BJ Lazy Load, and it’s available in the WordPress.org repository. It is well tested and runs on some sites with very high traffic volume. It also lazy loads iframes – like YouTube videos.
5. Full page caching with W3 Total Cache
W3 Total Cache is probably the best caching plugin out there. It has a ton of features, and I recommend you install this for full page caching. If you have a site with dynamic content – like a webshop – you should be careful with this though. If you’re not entirely sure how each option in this plugin work, don’t enable anything put the page cache.
Now, go test your site again. You should be in the «OK zone».
Actually, I would reccomend Redis Cache instead, but this depends on how experienced you are ofc. But still, it’s quite easy to install.
So do I, but it’s not a “slap-on” solution for most people.
This article seriously needs an update.
If you’re serving over HTTP/2, concatenation of files is considered an antipattern. I would also recommend WP Rocket instead of BJ Lazy Load and W3 Total Cache (it replaces both).
With this you mean that you don’t recommend use of minit anymore?
I just implemented, together with http/2 and it looks that it is working very well (measuring pagespeed with gtmetrix for instance.
That is cuz gtmetrix based on HTTP 1.1 not 2.0 …….. look at time to load the page and ignore the stupid scores
Do not merge your CSS and JS its risky and bad idea… you just inline the CSS to the head and minify all HTML after that, use Speed Demon
(did not accept my link maybe … search wordpress website free plugin)
Lazy load also bad idea most cases except video or iframes……
This is awesome.These are all great tips for someone with a bit higher skill level.
For more information: http://www.labstech.org/optimizing-images-website-2014-05-20/
Hello there ,
Thank you for telling me about this WordPress plug-in to compress my pictures here: http://www.bjornjohansen.com/slap-speed-optimization-wordpress-site
But then I discovered that adding plug-ins to my site itself causes the site speed to go down, which kinda ruins the purpose. So that is why I decided to look around for a free online tool.
After some exploring,I wanted to suggest it as an alternative to the plug in.
This is a free online tool that allows you to compress pictures that are up to 50 MB in size both in jpeg and in png format! So maybe sharing it with your users can help them too.
In hope I helped back.
Comments are closed.