WordPress plugin
PageSpeed Ninja Pro
PageSpeed Ninja Pro groups WordPress caching, asset processing, picture handling, and front-end loading controls in one dashboard. Use performance findings to decide which options to review. Results depend on hosting, site structure, theme, content, and other add-ons; the settings cannot guarantee a particular PageSpeed score or Core Web Vitals result.
Which part of page delivery needs attention?
PageSpeed Ninja Pro groups WordPress caching, asset processing, picture handling, and front-end loading controls in one dashboard. Use performance findings to decide which options to review. Results depend on hosting, site structure, theme, content, and other add-ons; the settings cannot guarantee a particular PageSpeed score or Core Web Vitals result.
Match controls to the work
- Slow responses or repeat visits: Advanced page caching can reduce server response time. Browser caching settings also cover static assets such as pictures, CSS, and JavaScript.
- Large file transfers: Gzip and Brotli compress text resources. Minification reduces HTML, CSS, and JavaScript file sizes, while bundling or inlining CSS and JavaScript can reduce requests.
- Delayed rendering: Generate and inline critical CSS for above-the-fold content, then defer or asynchronously load non-essential CSS and JavaScript. DNS prefetch resolves required origins, while preconnect starts connections; preload controls fetch key resources early.
- Images and offscreen media: Adjust JPEG, WebP, and AVIF quality, convert existing images to WebP, and optimize images for AVIF. Lazy loading can defer offscreen images, videos, and iframes. Gradient or blurred low-quality placeholders can stand in while images load, and width and height attributes let the browser reserve image space.
- Fonts, scripts, and page structure: Google Fonts loading controls include swap behavior so fallback text remains visible while fonts load. JavaScript settings can defer critical scripts, delay asynchronous scripts, and selectively delay specified scripts. The plugin can load detected polyfills only in legacy browsers, optimize emoji loading, and remove embedded legacy add-ons such as Flash, ActiveX, and Silverlight. Pro can also hide extra DOM components until user interaction.
Pro utilities for background and external assets
PageSpeed Ninja Pro includes multithreading background optimization and CLI asset optimization. Its tools also include DNS prefetch and preload assistants, options to self-host and optimize external resources such as Google Analytics, and backup and restore capabilities.
How do the presets and settings work?
Choose a preset during setup, then adjust settings for the website. Optimal suits most sites. Safe enables a minimal subset of optimizations to prioritize compatibility. Compact focuses on disk space, with image optimization and WebP conversion disabled. Ultra aims for maximum optimization and may be incompatible with some themes or plugins. Experimental is for testing capabilities that may be less stable.
Settings groups follow PageSpeed Insights categories and are labeled Should Fix, Consider Fixing, or Passed. Optimizations are disabled by default. General settings let you enable or disable groups; Advanced settings provide finer controls. The interface color-codes switches by their stated effect on the PageSpeed Insights score: green for improvement, orange for minimal effect, and red for a negative effect. Settings can affect one another.
Install, configure, and check the site
- Back up the site, then install the add-on through the WordPress Plugins screen or upload its documents to the plugins directory.
- Activate it from the Plugins screen.
- Choose a preset in the post-install prompt and save it.
- Open PageSpeed Ninja and adjust the suggested settings.
- Check important pages after changing caching, minification, JavaScript timing, image delivery, or critical CSS. Theme and plugin combinations, especially those involving other caching or optimization tools, can cause compatibility issues.
A free license key is required for connection to the plugin's servers. The plugin directory currently warns that the plugin has not been tested with the latest three major WordPress releases and may have compatibility issues on newer versions, so check the setup on your site before relying on it.