PageSpeed Ninja WordPress is a great plugin to boost your site performance.
It not only allows you to automate page optimization tasks, but shows the result in the dashboard itself.
You need a good speed grade and user experience to rank up high in Google and Bing.
If your site is taking 5 to 10 seconds to load initially, then the user will go to the next fast website.
Cache and Minification are one of the two common methods by which you can increase the speed of a website.
But many plugins in the market are either too complex or premium.
Even if they are working correctly, the actual world-scenario results are not reported by many of the sites.
I accidentally came through this plugin and found good speed scores using the in-built tool and Google’s PageSpeed Insights tool.
Why Page Speed is Important?
Two things come to my mind, when I check the page speed of a web page.
Is the site loading slow? How to Improve the WordPress speed optimization?
I’m not a developer or tech junkie who can play with the PHP code of my site.
Also Read – Railgun and Auto-Minify in Cloudflare – Their Role in Web Page Load Speed (Case-Study)
So for cache and minification I tried using several plugins.
But most of them did not give satisfactory scores. Also some of the settings were difficult to understand.
In one case study, I did a GTMetrix test with a page speed optimization plugin. The scores were not that good. I removed the same plugin and checked for results. Nothing improved.
Both the sites I compared were with minimal plugins, images and resources.
Since not many third-party scripts were there, I expected a 100/100 score.
The more significant part is the Core Web Vitals which is one of the many ranking signals.
Also Read – Optimize Images – Improve Google PageSpeed and Reduce Server Load [Case-Study]
Then I found a plugin called PageSpeed Ninja.
Better page speed performance compared to the earlier plugins.
In order to improve the TTFB scores, I also activated the Cloudflare APO. This costs $5/month per site.
This combination gave me good results in terms of score and web vitals.
PageSpeed Ninja – Ultimate WordPress Performance Plugin
The main use with this plugin is the automated control of settings. There were 6 different presets.
Denis Ryabov has taken pains to create this plugin with automated page optimization tasks.
Each preset will come with a set of preconfigured settings.
I chose the “optimal” version.
This enabled the following options under “Desktop” and “Mobile” mode.
- Avoid landing page redirects
- Enable compression
- Leverage browser caching
- Reduce server response time
- Minify CSS
- … HTML
- Minify JS
- Eliminate render-blocking JavaScript and CSS in above the fold content
- Optimize images
- Prioritize visible content
Separate static files folder created.
Remote critical CSS generation is also automatic.
The distribute method was Apache mod_rewrite+mod_headers.
Case Study Configuration
I was using the DreamHost shared hosting plan.
The free Cloudflare plan is active for this site.
Brotli compression and Rocket Loader were turned on.
Speed up page load times for your visitor’s HTTPS traffic by applying Brotli compression.
Improve the paint time for pages which include JavaScript.
There were 21 active plugins. AMP was used for mobile redirection.
But there was a difference between this site and the earlier one with Hummingbird Pro.
Automatic Platform Optimization for WordPress. This results in consistent, fast TTFB and content loading faster.
The tested web page had 15 images. Images were compressed using an image optimization plugin.
GTMetrix Page Speed Test – Metrics
The GTmetrix Grade is an assessment of your overall page performance.
It reflects both, how fast your page loaded for users, and how well it’s built for performance.
The Performance Score is essentially Lighthouse Performance Score, as captured by GTmetrix, with our custom audits, Analysis Options, browser and hardware specifications.
Your Structure Score is the proprietary assessment of Lighthouse and Custom GTmetrix audits.
It represents how well your page is built for optimal performance
Web Vitals
LCP measures how long it takes for the largest content element (e.g. a hero image or heading text) on your page to become visible within your visitors’ viewport.
For a good user experience, aim for an LCP of 1.2 seconds or less.
TBT tells you how much time is blocked by scripts during your page loading process.
For a good user experience, aim for a TBT of 150 milliseconds or less.
CLS indicates how much layout shift is experienced by visitors as your page loads.
For a good user experience, aim for a CLS score of 0.1 or less.
PageSpeed Ninja – Desktop Grade and Results
The result for the desktop page shows GTMetrix Grade “A” score. Audits did not show any “Top Issues”. All the performance metrics were in green. The fully loaded time was less than 1.0s. Main core web vitals of LCP and CLS were within limits.
TTFB time was 131ms. The cumulative layout shift required some improvement. The total requests were 22. Due to the minification of HTML, CSS, JS the total size of these resources was only 90KB.
PageSpeed Ninja – Mobile Grade and Results
AMP pages were tested with desktop emulation. The GTMetrix Grade was “A” and web vitals were also showing good metrics. Only the CLS value was out of range. The only issue was with “Avoid large layout shifts”. The fully loaded time was 2s and TTFB was 84ms.
FCP and LCP values were green. HTML, CSS, JS resources for AMP were 10 requests with 165KB. Though the AMP plugin was creating some JS sources, they were loading fast enough.
How to Clear PageSpeed Ninja Cache?
One of the main weaknesses of this plugin is that it’s cache increases in size very quickly. It slows down the wordpress admin panel. You need to clear the cache from time to time.
The simple solution is to disable the plugin from time to time. It clears the cache automatically. Then you can activate the plugin again.
PageSpeed Ninja – Cons
Though this plugin offers various features and benefits for FREE, it is not without disadvantage. The plugin was last updated 1 year ago. It is not tested with the latest WordPress installation of 5.8.2.
The in-built Lighthouse tool tests the desktop and mobile scores. Sometimes, it doesn’t report accurate results. In some cases, the suggestions to improve the grade and page speed do not work as intended.
The developer also doesn’t answer for failures in the plugin from the last 6 months. You need to figure out your own problems.
Also, the plugin doesn’t work out perfectly with some themes and plugins. You need to toy with its options to know which settings work and which don’t .
Conclusion
The best results were obtained when using the deadly combination of PageSpeed Ninja and Cloudflare APO. One was used for minification, gzip compression, optimize images. The other was used in reducing the TTFB times. No third-party ad scripts were used for this site.
This plugin has to be used with caution. As many of the WordPress bloggers don’t recommend this plugin, you have to do your own reality-check. If it works out for your site, then you can keep it and check the traffic and speed results.
It also has an impact on page loading speed. Since both desktop and AMP version were loading within 120 secs, we can safely say that the host was clearly optimized for speed.
The best thing is about the Core Web Vitals. Since GTMetrix is also using the Lighthouse tool of PageSpeed Insights of Google, it gives a clear indication of speed. Server speed, caching, image optimization and CDN together produce 100/100 results.