PageSpeed Ninja icon
Performance & Caching

PageSpeed Ninja

Boost page speed: cache, compress, optimize images to WebP, minify CSS/JS, defer loading, lazy load, generate critical CSS, improve Core Web Vitals

Developer PageSpeed
16 Needs attentionmaintenance
  • 9 yearson WordPress.org
  • 1plugin
  • 5,000+installs in total
  • 4.5★avg. rating (114)
  • 0%of plugins updated this year
2/14 badges Profile →

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.

Hummingbird Performance icon

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.

Setup guide →
Compare PageSpeed Ninjathis plugin Hummingbird Performance Asset CleanUp: Page Speed Booster
Last updated 2 years ago1 week ago4 days ago
Tested up to WordPress 6.6WordPress 7.1WordPress 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 15157273

Switching from PageSpeed Ninja?

  1. Try the replacement on a staging copy of your site first.
  2. Note your current settings, shortcodes and widgets. They won't carry over automatically.
  3. 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.

We haven't published a hands-on review of PageSpeed Ninja yet. Want one, or need help with it? Send us a request.

How to install PageSpeed Ninja

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “PageSpeed Ninja” and pick the one by PageSpeed.
  3. 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 --activate

Requirements: 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.

psn-pagespeed-ninja — top hooks
// 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/' );

Browse all 15 hooks with examples →

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.

Update 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 this

Not 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.

Alternatives in Performance & Caching

See all →
Reviewed

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

7+ million installs Updated 2 days ago 182 hooks
Reviewed

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faster Sites and Happy Visitors.

1+ million installs Updated 2 weeks ago 163 hooks
Reviewed

A very fast caching engine for WordPress that produces static html files.

1+ million installs Updated 3 weeks ago 42 hooks

The simplest and fastest WP Cache system

1+ million installs Updated 3 weeks ago 22 hooks