Boost page speed: cache, compress, optimize images to WebP, minify CSS/JS, defer loading, lazy load, generate critical CSS, improve Core Web Vitals
PageSpeed Ninja is the ultimate performance plugin, specially designed to tackle slow loading times on your website on both desktop and mobile platforms. This plugin effortlessly addresses Google PageSpeed Insights issues and significantly improves Core Web Vitals.
This tool offers a range of features designed to optimize your website’s speed:
This plugin is your go-to solution for reducing slow loading times, improving SERP optimization, and boosting website speed, making it an essential tool for performance optimization and SEO.
Are you looking to improve your website’s performance and Google search rankings? PageSpeed Ninja excels in core web vitals and SEO optimization. For over a decade, we’ve been at the forefront of mobile web optimization. You might be familiar with one of our popular projects, Lazy Load XT. PageSpeed Ninja represents our expertise gained from optimizing the performance of over 200,000 websites on mobile devices. We believe you won’t find a similar, user-friendly, all-in-one solution for boosting the performance your website.
Benefit from our suite of unique features designed to turbocharge your site’s loading speed. From innovative critical CSS generation for above-the-fold content to implementation of tagged page caching, we ensure lightning-fast load times that improve critical performance metrics such as Largest Contentful Paint (LCP), Cumulative Layout Shift (CLS), and more.
Our statistics indicate that the plugin improves the speed of 4 out of 5 websites. However, certain theme and plugin combinations, especially those related to caching and optimization, may lead to compatibility issues. Therefore, our plugin might not suit every website. To preview how PageSpeed Ninja could benefit your site, we’ve developed a simple tool that allows you to test it before installing it. We highly recommend that you visit PageSpeed.Ninja and run a test of your website beforehand. Please note: To accurately test your site on PageSpeed.Ninja, it’s crucial to temporarily disable any optimizing plugins. This test requires raw data to apply its own optimization.
People who own, design, or develop websites are constantly looking for efficient ways to boost performance without getting down in tweaking every single setting. This is precisely where the “Presets” feature of the PageSpeed Ninja comes in.
PageSpeed Ninja offers five different presets, each tailored to specific optimization needs:
– Optimal: suitable for the majority of websites,
– Safe: prioritizes compatibility (only a minimal subset of optimizations is enabled),
– Compact: focuses on saving disk space (image optimization and convert to WebP are disabled),
– Ultra: aims for maximum optimization (but may be incompatible with some themes and plugins),
– Experimental: reserved for testing new, possibly less stable features.
PageSpeed Ninja organizes its settings into groups aligned with the Google PageSpeed Insight categories. Using the data from the Google PageSpeed Insight speed analysis, the plugin categorizes the settings groups into three distinct classes: Should Fix, Consider Fixing, and Passed.
Within the General settings, users can easily enable or disable each settings group (specific settings depend on the preset selected), and the Advanced settings page offers fine-tuning all settings according to specific preferences.
Each switch in the settings interface is color-coded to reflect its impact on your website’s PageSpeed Insights score:
– Green: Improves the score.
– Orange: Has minimal effect on the score.
– Red: Negatively affects the score.
Note that adjusting certain settings may cause related switches to change color due to their interrelated effects on performance.
This feature within the PageSpeed Ninja optimizes server responses by implementing efficient caching mechanisms. By using advanced page cache strategies, it reduces response time to incoming requests (the Time To First Byte metric).
This feature of the PageSpeed Ninja optimizes website performance by implementing an effective caching strategy for static resources. This feature refines the cache policy to improve browser caching for elements such as images, CSS, and JavaScript files. It maximizes caching efficiency by instructing the browser on the optimal duration to retain these assets, reducing server requests and accelerating page load times for returning visitors.
This setting in the PageSpeed Ninja optimizes website performance by using two powerful compression techniques: Gzip and Brotli compression. Gzip compression, a widely supported method, reduces the size of text-based files such as HTML, CSS, and JavaScript by compressing them before transmission, thereby speeding up website load times. Brotli compression, a newer and more efficient algorithm, further reduces file sizes and improves performance for modern browsers that support this advanced compression method.
This feature in the PageSpeed Ninja optimizes website performance by initiating early connections to third-party origins, reducing latency and improving load times. Using DNS prefetching, it proactively resolves domain names for faster connections. By pre-establishing connections to essential domains such as CDNs or external APIs, it reduces handshake time and improves overall page speed.
This setting within the PageSpeed Ninja focuses on optimizing website load times by proactively preloading critical resources. This feature strategically identifies and preloads essential assets, such as fonts, scripts, or CSS files that are required for the initial page rendering process. By fetching these key requests ahead of time, it significantly improves page speed.
The “Minify CSS” settings within the PageSpeed Ninja offer a robust set of tools designed to boost website performance by minimizing CSS files. These settings use advanced CSS minification techniques by using a CSS minifier to compress and optimize CSS resources. By reducing CSS size, the plugin significantly improves page load times.
The “Minify JavaScript” setting in the PageSpeed Ninja provides powerful tools to optimize website performance by reducing JavaScript file sizes. This feature uses advanced JavaScript minification techniques, employing a JavaScript minifier to compress and condense code, improving load times and overall site speed. By enabling JS compression, Minify JavaScript helps to reduce JavaScript size, optimize script delivery and boost web page efficiency.
This feature of the PageSpeed Ninja significantly improves page loading speed by focusing on critical aspects of optimization. This feature uses various strategies such as Above-the-fold Critical CSS and Non-blocking JavaScripts to streamline the critical path for fast rendering of essential content. The plugin provides options to inline critical CSS and defer (asynchronously lazy load) non-essential CSS for improved performance. In addition, the plugin manages JavaScript by deferring or asynchronously loading scripts to improve the critical rendering path.
This feature within the PageSpeed Ninja prioritizes the visibility of text while web fonts are loading. It uses the “swap” mode for web fonts to ensure that a fallback font is displayed immediately, preventing a flash of invisible text (FOIT). Additionally, it optimizes the loading of Google Fonts, ensuring that content remains visible during the font-loading process. This optimization significantly improves the user experience and page performance.
This setting within the PageSpeed Ninja includes several optimization techniques aimed at reducing excessive data transfer. It includes features such as CSS optimization, minifying HTML, bundling/merging CSS and JavaScript files, async script loading, HTML minification, and optimizing emoji loading. Together, these settings work to reduce file sizes and improve page loading speed by minimizing unnecessary network payloads.
This setting within the PageSpeed Ninja provide a comprehensive suite of optimize images tools. This feature allows users to fine-tune the optimization process by adjusting JPEG, WebP, and AVIF qualities to ensure efficient compression. With its range of customizable settings, it allows users to optimize and compress images to varying degrees, serving as a powerful picture optimizer.
This feature, a core component of the PageSpeed Ninja, is a key tool for optimizing website images. This feature facilitates the conversion of images into modern formats such as WebP, a next-gen image format known for its superior compression and quality attributes. This setting acts as an image converter, seamlessly converting existing image files into the WebP format, thereby improving website loading speed and performance. By leveraging the capabilities of WebP, this image conversion setting ensures optimal image delivery.
The “Defer offscreen images” feature within the PageSpeed Ninja offers various optimizations aimed at improving page load times by implementing lazy loading techniques. This feature delays the loading of images, videos, and iframes that are not immediately visible on the user’s screen, using image lazyload methods to prioritize content above the fold. The plugin allows users to choose lazy load with one of two types of Low-Quality Image Placeholders (LQIPs): gradient placeholders and blurred low-quality placeholders. These placeholders are displayed in place of the actual images, providing a smoother initial load while the full-quality images lazy load in the background.
This setting in the PageSpeed Ninja focuses on optimizing the rendering of web pages by ensuring that all images have width and height attributes. This optimization strategy aims to prevent layout shifts during page loading by specifying the exact dimensions for each image element and ensures that browsers pre-allocate space for images based on the provided dimensions, eliminating the need for recalculations when images load.
This setting in the PageSpeed Ninja provides control over optimizing JavaScript to improve site performance. It enables features like deferring critical JS to prioritize vital scripts for faster loading, optimizing integrations with platforms (like Facebook, Twitter, etc.) to streamline their scripts’ loading mechanisms, and delaying the loading of all asynchronous JavaScripts to prevent potential bottlenecks. Additionally, it allows for the selective delay of loading of specific JavaScripts in Advanced settings.
This setting within the PageSpeed Ninja focuses on optimizing webpage performance by reducing the Document Object Model (DOM) size. Currently, this is accomplished by eliminating embedded plugins such as Flash, ActiveX, Silverlight. In the Pro version it’s possible to hide extra DOM elements and reveal them after user interaction. Ongoing development may introduce further optimization techniques to trim excess DOM elements and improve overall website speed.
This setting allow to detect polyfill JavaScript files and load them in legacy browsers only, thereby reducing network payload.
This feature within the PageSpeed Ninja optimizes web pages by ensuring that they contain an important meta viewport tag. This tag is crucial for improving mobile responsiveness. Including this tag allows web content to properly scale and adapt to different devices and screen sizes, ultimately optimizing the page for seamless viewing across a range of devices.
The Advanced Settings page within the PageSpeed Ninja serves as a central hub for users seeking more control over their website optimization. This section not only allows users to fine-tune settings but also facilitates efficient cache management and provides troubleshooting capabilities. Users can adjust specific parameters to tailor the plugin’s performance optimization precisely to their website’s requirements.
Starting from November 2023, PageSpeed Ninja requires a free license key for connectivity to our servers. This important update results in improved server load balancing to prevent resource exhaustion and ensure uninterrupted performance. You can get your free license key by visiting https://pagespeed.ninja/download/.
PageSpeed Ninja Pro is a powerful plugin designed to optimize website performance through a range of advanced features. It drastically reduces load times with its fast advanced page caching and multithreading background optimization, image optimization features that include properly sizing images and AVIF format support. The plugin excels in efficient CLI asset optimization through minification tools such as UglifyJS for JavaScripts, CSSO for stylesheets, JPEGOptim/OptiPNG/GIFsicle for images, and many others. Its DNS Prefetch and Preload Assistants fine-tune site responsiveness. Notably, it allows users to self-host and optimize external resources like Google Analytics and offers robust backup/restore capabilities, culminating in a comprehensive solution for turbocharging website performance.
When you delete the plugin, it will automatically revert all settings to the original state as they were before this plugin was installed. During this process, the “/s” directory containing optimized files will be removed and changes made to “.htaccess” files will be undone. Please note that uninstalling the plugin will remove all data associated with the plugin, including settings and logs.
If you have any questions, suggestions, or encounter issues related to site speed optimization, we encourage you to contact us at [email protected]. Whether you’re a user, developer, or tester, your feedback is essential to improving our services.
To facilitate troubleshooting, PageSpeed Ninja offers error logging capabilities. You can enable this feature in the Advanced tab of the PageSpeed Ninja settings. If you encounter any problems, you can help us in resolving them by providing us with the relevant error log file. Your assistance will help us improve your experience with PageSpeed Ninja.
/wp-content/plugins/psn-pagespeed-ninja
directory, or install the plugin directly from the WordPress plugins screen. We highly recommend creating a backup of your site beforehand, just as you would before installing any new plugin.The PageSpeed Ninja plugin should work pretty well with most other plugins without issues. However, if some SEO plugins try to do some of the same things as this plugin, then conflicts could be possible especially if gzip compression is enabled. However, that is pretty unlikely.
While PageSpeed Ninja strives to be compatible with a wide range of themes and plugins, there are rare cases where conflicts may occur. It’s important to test the plugin in your specific setup and contact the plugin support for assistance.
PageSpeed Ninja offers powerful optimization features, but achieving a perfect PageSpeed score depends on many factors, including your website’s structure, hosting environment, and content. The plugin significantly improves performance, but individual scores may vary.
Yes, PageSpeed Ninja allows you to undo optimizations through the plugin’s settings. However, it’s important to note that undoing optimizations can affect your website’s performance and PageSpeed score. As a last resort, you can uninstall the plugin; this process will remove all files associated with the plugin.
= 1.4.3 Stable Release [04 July 2024]
– Fixed issue with daily scheduler
– Fixed issue with Redis cache cleaning [Pro]
– Disabled directory index of cache directory in Apache
= 1.4.2 Stable Release [11 June 2024]
– Added support of JavaScript modules in “Preload key requests”
– Fixed issue with CSS relocation in “Inline CSS for First-Time Visitors”
– Fixed issue with scripts execution order in “Non-blocking JavaScript” mode
– Fixed work of lazy image loading
– Fixed processing of query delimiters in Stream and Pharse parsers
– Improved detection of width and height for SVG images
– Adjusted “Ultra” and “Experimental” optimization presets
– Minor bugfixes
= 1.4.1 Stable Release [07 June 2024]
– Fixed issue with missed files [Free]
= 1.4.0 Stable Release [03 June 2024]
– Added “Display” options for loading Web Fonts/Google Fonts
– Added “Auto Update” option
– Added search field in the Advanced settings
– Added warning about incompatibility with other optimization plugins
– Added new “Does not use passive listeners” section [Pro]
– Added initial support for Redis/KeyDB cache [Pro]
– Fixed issue with disabled Save button
– Fixed issue with JavaScript minification
– Fixed issue with CSS minification
– Fixed check for updates [Pro]
– Improved caching under heavy load
– Improved work of Non-blocking JavaScript feature
– Improved asynchronous loading of CSS with Critical CSS feature
– Improved work of preload tags generation
– Adjusted “Ultra” optimization preset
– Changed initial setup wizard
– Minor bugfixes/typos