Not recommended for new sites
Better alternatives to PageSpeed Ninja
- Problem: Not maintained Last updated 2 years ago (version 1.4.5).
- Problem: Not tested with recent WordPress Tested up to WordPress 6.6; the current release is 7.1. Needs PHP 5.6+.
- Pass: Well rated Rated 4.5/5 by 114 users on WordPress.org.
- Pass: Widely used Active on 5,000+ sites.
For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.
Best match
Hummingbird Performance
Updated 1 week ago, tested with WordPress 7.1, rated 4.7/5 by 1,488 users, used on 70,000+ sites.
| Compare | PageSpeed Ninjathis plugin | Hummingbird Performance | Asset CleanUp: Page Speed Booster |
|---|---|---|---|
| Last updated | 2 years ago | 1 week ago | 4 days ago |
| Tested up to | WordPress 6.6 | WordPress 7.1 | WordPress 7.1 |
| Active installs | 5,000+ | 70,000+ | 100,000+ |
| Rating | 4.5 / 5 (114) | 4.7 / 5 (1,488) | 4.9 / 5 (1,564) |
| PHP code size | 821 KB in 149 PHP files | – | 5.2 MB in 353 PHP files |
| Hooks for developers | 15 | 157 | 273 |
Switching from PageSpeed Ninja?
- Try the replacement on a staging copy of your site first.
- Note your current settings, shortcodes and widgets. They won't carry over automatically.
- Activate the new plugin, recreate the setup, then deactivate and delete the old one.
Need your settings or data moved over? We can migrate it for you.
Find other outdated plugins on your site with the free plugin checker →
Alternatives are matched on features and ranked by maintenance, WordPress compatibility, ratings and adoption, using WordPress.org data.
Overview
PageSpeed Ninja describes itself as: “Boost page speed: cache, compress, optimize images to WebP, minify CSS/JS, defer loading, lazy load, generate critical CSS, improve Core Web Vitals”
It is active on 5,000+ WordPress sites and rated 4.5 out of 5 by 114 users on WordPress.org. Developers can extend it through 6 actions and 9 filters, listed below.
Downloads & growth
How often PageSpeed Ninja is downloaded from WordPress.org each day, over the last 90 days.
Source: WordPress.org download statistics. Downloads include updates on existing sites, so tall spikes usually mark a new release. See what's trending →
How to install PageSpeed Ninja
- Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
- Search for it. Type “PageSpeed Ninja” and pick the one by PageSpeed.
- Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI
Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:
wp plugin install psn-pagespeed-ninja --activateRequirements: WordPress 4.6+ · PHP 5.6+ · tested up to WordPress 6.6.12
Hooks & customisation
PageSpeed Ninja 1.4.5 fires 6 actions and 9 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.
// Filter in admin/class-pagespeedninja-admin.php
apply_filters( 'psn_is_pro', false );
// Filter in admin/partials/pagespeedninja-admin-advanced.php
apply_filters( 'psn_options_loaded', $options );
// Filter in public/class-pagespeedninja-public.php
apply_filters( 'emoji_ext', '.png' );
// Filter in public/class-pagespeedninja-public.php
apply_filters( 'emoji_svg_ext', '.svg' );
// Filter in public/class-pagespeedninja-public.php
apply_filters( 'emoji_svg_url', 'https://s.w.org/images/core/emoji/2.2.1/svg/' );
// Filter in public/class-pagespeedninja-public.php
apply_filters( 'emoji_url', 'https://s.w.org/images/core/emoji/2.2.1/72x72/' );PageSpeed Ninja: frequently asked questions
Is PageSpeed Ninja free?
Yes. PageSpeed Ninja is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.
Is PageSpeed Ninja safe to use?
PageSpeed Ninja has not been updated for 2 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. Users rate it 4.5 out of 5 from 114 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.
Does PageSpeed Ninja work with WordPress 7.1?
It isn't confirmed. PageSpeed Ninja was last tested with WordPress 6.6, 5 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 4.6 or later and PHP 5.6 or later.
How many websites use PageSpeed Ninja?
PageSpeed Ninja is active on 5,000+ WordPress sites, according to WordPress.org. It is currently at version 1.4.5, last updated on September 26, 2024.
What are the best alternatives to PageSpeed Ninja?
Plugins that do a similar job and are actively maintained include Hummingbird Performance (70,000+ installs), Asset CleanUp: Page Speed Booster (100,000+ installs). See the side-by-side comparison.
Can I customise PageSpeed Ninja without editing its code?
Yes. PageSpeed Ninja 1.4.5 fires 6 actions and 9 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 15 hooks with examples.
Done for you
Let us deal with PageSpeed Ninja for you
Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.
Plugin replacement & migration
from $199
Swap a risky plugin for a maintained one and keep your settings and data.
- We pick a maintained alternative with you
- Settings, content and data moved over
- Tested on staging before going live
- Old plugin removed cleanly
Typical turnaround: 3–5 business days
Choose thisUpdate an abandoned plugin
from $249
Keep the plugin your site depends on, made safe for current WordPress and PHP.
- Compatibility with current WordPress and PHP
- Security review and fixes
- Deprecated code replaced
- You keep a maintained copy
Typical turnaround: 5–10 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Need PageSpeed Ninja customised?
Tell us what you want changed, added or fixed and we'll reply with an estimate.
WP EXPERTS is independent and not affiliated with PageSpeed. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 24, 2026.