NitroPack – Cache & Speed Optimization for Core Web Vitals, Defer CSS & JavaScript, Lazy load Images


NitroPack is the all-in-one performance optimization service. It combines everything you need for a lightning-fast website. Image optimization, code minification, caching, CDN, lazy loading – you name it, NitroPack has it.

NitroPack performs all optimizations in the cloud. This makes it a very lightweight solution with a lower CPU overhead compared to standard caching plugins.

Our service provides you with the following (typically paid extra) functionalities included without the need for additional configuration:

  • Cloudflare CDN – we automatically serve your static assets from a CDN based on Cloudflare
  • Image Optimization – we optimize all of your images automatically and convert them to WebP
  • Cache Warmup – we keep your most important pages optimized at all times

Apart from these, NitroPack offers other unique features and benefits like:

  • Incredibly Simple Setup – getting started with NitroPack is a breeze. There’s no technical configuration or a 15-step installation process. And you don’t need to be a developer to set it up. Simply follow these 4 steps and you’ll be done in no time
  • No risk of damaging your original site files – NitroPack works on copies of your site files. You don’t like the results from an optimization? No problem. Purge your cache and start over. Even if you decide to disable NitroPack your site will go back to the state it was in before activating our plugin
  • Cache Invalidation – you can invalidate cache files instead of purging them. This allows NitroPack to keep serving your visitors from cache while a fresh copy of the cache is being generated in the background. Cache invalidation is awesome for high traffic situations like campaigns. It allows you to keep updating your site while still serving cache to your clients. And with NitroPack, cache invalidation happens automatically. (For more info on this, scroll down to the “NitroPack and Campaigns” section)
  • Critical CSS tailored to each of your unique layouts – most plugins that provide critical CSS functionality prepare a single critical CSS file per post type. Even when you have multiple pages with the same post type but different layouts. NitroPack detects this and generates unique critical CSS for each unique layout. Oh, and because desktop and mobile devices have different viewports, NitroPack also uses different critical CSS for each device type 😉
  • Optimize resources linked statically into your theme files – NitroPack will discover and optimize all resources linked into your theme, even ones that come hardcoded into your CSS files (even if they are multiple levels down an @import chain)

The configuration requires no technical knowledge. All you need to do is select your desired optimization level: Standard, Medium, Strong or Ludicrous. Besides that, NitroPack does all the work.

Other Key Features

  • Minify HTML
  • Minify CSS files and inline CSS defined in style tags and attributes
  • Minify JavaScript files and inline script tags
  • HTML, CSS and JavaScript compression
  • Gzip and Brotli compression
  • Optimize images
  • Convert to WebP
  • Lazy load images (including CSS background images)
  • Lazy load iframes
  • Cloudflare CDN
  • Image previews for YouTube and Vimeo embeds
  • Defer CSS
  • Defer JavaScript
  • Font rendering optimization
  • DNS prefetch
  • Compatible with mobile, tablet and desktop devices out of the box
  • Multisite ready
  • Support for scheduled posts
  • eCommerce compatibility
  • Multilingual support
  • Advanced resource loading mechanism
  • Resource preloading using web workers
  • Automatic cache management – NitroPack will automatically update its cache files when you update content on your site
  • Option to exclude certain pages from being cached
  • Option to exclude any resource from being optimized
  • Option to ignore URL parameters that do not modify the content of your pages (e.g. campaign parameters like utm_source, utm_campaign, etc.)
  • Cloudflare integration
  • Sucuri integration
  • Generic reverse proxy integration (NGINX, Varnish, etc.)
  • No database connection needed

Running Marketing Campaigns with NitroPack

Two major issues often come up when running a campaign. First, each visitor hits your server with a unique URL request. Second, you lose your cache if you update content on your site.
Most optimization plugins come up short when it comes to both issues.
At the same time, NitroPack has two powerful features that help you thrive in these high traffic situations:

  1. NitroPack recognizes campaign parameters in the URL and ignores them when looking up a cache file for the campaign request.
  2. Cache invalidation – typically, when you update content on your site, caching plugins have to purge their cache and start rebuilding it. When a purge occurs during a high traffic period your visitors will no longer be served from cache. And your server will have to work extra hard to generate new cache files. As a result, the user experience on your website takes a hit. NitroPack solves this problem by invalidating the cache, instead of purging it. This method allows NitroPack to refresh the cache files in the background. At the same time, you still serve your clients from the slightly outdated cache files. As we already said, this happens automatically. You don’t need to worry about caching during an important campaign.

Whether you’re running a big campaign or your site suddenly becomes trending, both features are crucial for keeping your visitors happy.
So, if you want a fast website right now, go over to the Installation section and download NitroPack.

Incompatible Plugins

WordPress is designed to have only a single active page cache solution at a time, otherwise conflicts can arise. We do not recommend using NitroPack together with another caching plugin, like:

  • WP Rocket
  • Autoptimize
  • Swift Performance
  • WP Fastest Cache
  • WP Fastest Cache Premium
  • Powerpack (WPTouchPro)
  • W3 Total Cache
  • Breeze
  • PhastPress
  • WP Super Cache
  • Litespeed Cache
  • Swift Performance
  • PageSpeed Ninja
  • Comet Cache by WP Sharks
  • Hummingbird
  • SG Optimizer
  • WP-Optimize – only the page caching must be disabled, not the entire plugin
  • Smush – only the lazy load option must be disabled, not the entire plugin
  • JetPack – only the lazy load option must be disabled, not the entire plugin
  • ShortPixel – only the WebP conversion option must be disabled, not the entire plugin

3rd Party Services Used By The NitroPack Plugin

The NitroPack plugin acts as a service. It calls/sends data to our API servers, which perform all of the optimizations.
As a result, our infrastructure does all the heavy lifting. That’s how NitroPack ensures low CPU overhead for your servers.
To learn more about what NitroPack provides as a service as well as what data it collects and uses, please visit:

NitroPack also uses Cloudflare and Bunny CDN to accelerate content delivery across the globe.
For more information about these services, please visit:


  • Connect your store
  • Dashboard - see and manage the data in your


  1. Click the “Download” button on this page. You’ll get a .zip file, which you can save on your computer.
  2. Go to your website’s dashboard, open the “Plugins” menu and click “Add new”. After that, choose the file and click “Install Now”
  3. You now need to connect your website to NitroPack. Simply go to and create an account. After you log in, you’ll see a “Connect Your Website” menu on the left. There, you’ll find a Site ID and Site Secret.
  4. Go back to your website’s dashboard. Click “Settings” and find the NitroPack option. Finally, enter your Site ID and Site Secret and click “Connect to NitroPack”.

That’s all there is to it!


Does NitroPack modify site files?

No. NitroPack works on copies of your site files. However, it does modify your wp-config.php file if WP_CACHE is not enabled yet.

I installed NitroPack but my pages are still slow. Why?

After installing and activating NitroPack, you must log into your account, go to “Connect Your Website” and use the provided Site ID and Site Secret to connect the plugin to our cloud service.

Why my scores are still low after connecting NitroPack?

After connecting NitroPack you need to select your desired optimization mode – Standard, Medium, Strong or Ludicrous. Once you do that, please visit your home page and allow NitroPack a minute to prepare an optimized version of your page. You can then run the tests again.

How long does it take for pages to get optimized?

It usually takes NitroPack a few seconds to optimize your pages.

Can I use another page caching plugin and NitroPack at the same time?

WordPress’s design allows you to use only one page cache solution at a time. Other page cache solutions are designed this way too. However, you can use other non-page cache optimization solutions perfectly well with (e.g. database optimization plugins, object caching, etc.).

What if I have a question?

You can contact us anytime at

Will NitroPack slow down my server?

No. We’ve designed NitroPack to be a very lightweight solution that adds no CPU overhead to your server.


25 de mayo de 2023
J'utilise Nitropack depuis 1 an et je reste très satisfait à la fois du produit mais aussi du support très réactif et très compétent. Le produit est très technique d’où l'intérêt d’être accompagné à l'optimisation du site. Merci Nitropack !
22 de mayo de 2023
This plugin has helped my web to score above 90% in GTMetrix. And the support service was more than excellent, quick and efficient, and very kind. I fully recommed this plugin
22 de mayo de 2023
What can I say? NitroPack excels at optimizing WordPress. Not only that, but their team is highly responsive and accommodating, offering custom solutions tailored to your project's needs. NitroPack has become an essential technology for all of my projects. It simply works and saves a significant amount of development time if you want to optimize your website yourself.
Read all 272 reviews

Contributors & Developers

“NitroPack – Cache & Speed Optimization for Core Web Vitals, Defer CSS & JavaScript, Lazy load Images” is open source software. The following people have contributed to this plugin.


“NitroPack – Cache & Speed Optimization for Core Web Vitals, Defer CSS & JavaScript, Lazy load Images” has been translated into 12 locales. Thank you to the translators for their contributions.

Translate “NitroPack – Cache & Speed Optimization for Core Web Vitals, Defer CSS & JavaScript, Lazy load Images” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Bug fix: Resolve connection issues


  • Improvement: Move the plugin’s data directory into wp-content/cache/
  • Improvement: Automatically run cache warmup when the permalink structure has changed
  • Improvement: Automatically purge cache when the front page configuration is changed
  • Improvement: Overall stability improvements
  • Bug fix: Resolve fatal error when WCML is active
  • Bug fix: Resolve error when purging cache in WP-CLI mode
  • Bug fix: Fix typo in the diagnostics report


  • Update: Temporarily disable the changes related to Gravity Forms as further improvements are needed for optimal experience


  • New Feature: Added compatibility with Geotargeting WP
  • New Feature: Cache warmup now detects sitemap files automatically. Supported providers are: Yoast, RankMath, JetPack & Squirrly
  • Improvement: Detect categories of new posts more accurately for a more precise cache purge
  • Improvement: Automatically clear cache when WP Bakery’s custom CSS is updated
  • Improvement: Automatically clear cache when Elementor’s custom code is updated
  • Improvement: Resolve issues with gravity forms where forms could not be subitted after certain period of time
  • Improvement: Resolve issues with WPForms where forms could not be subitted after certain period of time
  • Improvement: Better compatibility with WPML’s WooCommerce options
  • Improvement: Ability to dismiss notifications
  • Improvement: Various improvements in the UI
  • Improvement: Overall stability improvements
  • Bug fix: Resolve issues when purging cache via WP-CLI


  • New Feature: Add support for additional domains
  • Bug fix: Resolve errors for undefined host in WP-CLI


  • Improvement: More reliable way to determine to current hostname
  • Improvement: Compatibility improvements with Cloudflare’s APO
  • Improvement: Compatibility with Advanced Math Captcha
  • Improvement: Added ability to localize the plugin
  • Improvement: Better compatibility with The Events Calendar to increase cache hit ratio
  • Improvement: Overall stability improvements
  • Bug fix: Remove incorrectly placed notices in the connect screen


  • Feature: Introduce a new features «Ecommerce Cart Cache» for WooCommerce sites
  • Improvement: Add new filter «nitropack_is_archive_page»
  • Improvement: Overall stability improvements


  • Improvement: Update the compatibility with SiteGround’s Dynamic Cache layer
  • Bug fix: Resolve cache bypass issues on LiteSpeed


  • Improvement: Better handling of healthchecks after LiteSpeed .htaccess configuration
  • Bug fix: Resolve an issue with sitemap XSL schemas
  • Bug fix: Resolve an issue AMP pages


  • Bug fix: Resolve an issue with activate/deactivate if opcache_reset is not available


  • New Feature: Completely compatible with LiteSpeed servers
  • Improvement: The help button is now an interactive widget
  • Improvement: Full compatibility with WPX Cloud
  • Improvement: Resolve an occasional issue with the cache layer on Pressable
  • Improvement: Overall stability improvements
  • Bug fix: Correctly purge cache when a post transitions to a draft state


  • Improvement: Add exclude for a healtcheck endpoint in Pagely
  • Bug fix: Resolve compatibility issues related to Aelia Currency Switcher
  • Bug fix: Resolve an issue causing settings to be reset to «Standard» mode


  • Improvement: Make the connection to our API servers even more stable
  • Improvement: Out of the box compatibility with Aelia Currency Switcher
  • Improvement: Implement a better way to check for Download Monitor URLs
  • Improvement: Overall stability improvements
  • Bug fix: Fix cases of missing elements in Thrive Theme


  • Improvement: Overall stability improvements
  • Bug fix: Fix ‘headers already sent’ error in CLI and WP_CRON modes
  • Bug fix: Fix cases of missing elements in Fusion Builder


  • New Feature: Compatibility with DreamPress hosting
  • Improvement: Full compatibility with Pressable’s caching layer
  • Improvement: Full compatibility with’s caching layer
  • Improvement: Overall stability improvements
  • Bug fix: Resolve an issue where separate URLs were incorrectly using the same cache files
  • Bug fix: Switching between prod and staging environments no-longer causes issues with cache sync


  • New Feature: Compatibility with Savii hosting
  • New Feature: Basic compatibility with Pressable’s caching layer
  • New Feature: Basic compatibility with Sucuri as a caching layer
  • New Feature: Admins can now receive notifications related to system events
  • Improvement: Improved compatibility with Cloudflare’s APO
  • Improvement: Improved compatibility with
  • Improvement: Overall stability/compatibility improvements
  • Improvement: A better way to detect the popular Cookie Notice plugin
  • Improvement: Compatibility with WP Engine’s Smart Plugin Updater
  • Bug fix: Resolve an issue when running on PHP 5.6


  • New Feature: Compatibility with Vimexx
  • Improvement: Make some of NitroPack’s requests even lighter weight
  • Bug fix: Resolve an issue which was preventing some admin actions from functioning correctly


  • Disable the compatibility with LiteSpeed servers as purging its cache with variation cookies isn’t working per spec


  • New Feature: Compatibility with Fastly
  • New Feature: Compatibility with Closte
  • New Feature: Compatibility with Beaver Builder’s cache purge
  • New Feature: Compatibility with the Cookie Notice plugin
  • New Feature: Add generic compatibility with LiteSpeed servers
  • Improvement: Better efficiency in the API calls leading to less overhead in admin operations
  • Improvement: Vastly better support for popular cache proxies, making a much better use of existing infrastructure
  • Improvement: Better compatibility with WP Engine
  • Improvement: Better compatibility with Kinsta
  • Improvement: Better compatibility with SiteGround
  • Improvement: Better compatibility with Pagely
  • Improvement: Better compatibility with Cloudways
  • Improvement: Better compatibility with Flywheel
  • Improvement: Clear existing proxy cache when NitroPack is activated or deactivated
  • Improvement: Show more helper messages to guide the administrator in resolving detected issues
  • Improvement: Prevent duplicate connections which were previously causing the cache to get out of sync
  • Improvement: More granular and accurate detection of inventory updates in WooCommerce
  • Improvement: The safe mode prompt is now on the deactivate step
  • Improvement: Handle a specific case of Cloudflare’s Flexible SSL coupled with a redirect
  • Bug fix: Resolve an issue with the WooCommerce PayPal Checkout Payment Gateway plugin
  • Bug fix: Various form submission issues have been resolved
  • Many bug fixes and stability improvements


  • Change: Bump up the tested-up-to version for WP 5.7
  • Bug fix: Resolve a constant already defined error
  • Bug fix: Resolve an issue with the positioning of the status dot in the admin bar


  • New Feature: Safe Mode toggle within the plugin’s dashboard
  • Improvement: Add support for an upcoming improvement in the compatibility with reverse proxies like Cloudflare and Sucuri
  • Improvement: Add a filter to allow the list of cacheable post types to be extended – nitropack_cacheable_post_types
  • Improvement: Better handling of WooCommerce price updates
  • Bug fix: Cache warmup was not being triggerd when posting a new article. This is resolved now.


  • Improvement: Faster cache purge via the webhook
  • Improvement: Purging/Invalidating cache via WP-CLI is now direct and provides better feedback of the result
  • Bug fix: Any cache purge was triggering full cache purge on the local server. This is now resolved.


  • Bug fix: Resolve an issue causing a fatal error related to undefined class name


  • New Feature: Compatibility with Cloudflare APO
  • Improvement: Better resilience to network related issues
  • Improvement: Faster cache purge
  • Improvement: Overall stability improvements
  • Deprecation: Removed the Invalidate All Cache option. The invalidate action is much better suited for single page invalidations.


  • Improvement: Performance improvements in content updates
  • Improvement: Better compatibility with Download Monitor


  • New feature: Extended WP-CLI compatibility with ability to purge/invalidate by URL or tag
  • New feature: Add a method for dynamically preventing automated purge/invalidate
  • Improvement: Compatibility with jQuery 3
  • Improvement: Better compatibility with SiteGround’s dynamic cache layer
  • Improvement: Overall stability improvements
  • Bug fix: Resolve an issue with undefined HTTP_HOST key


  • Bug fix: Resolve an issue with reverse proxy cache purge through the webhook


  • Improvement: Stability improvements


  • New Feature: Pagely compatibility
  • Improvement: Even better compatibility with WooCommerce’s Geolocate option
  • Improvement: More accurate sync with Avada’s date based containers
  • Improvement: Better compatibility with reverse proxies
  • Improvement: Stability improvements


  • New Feature: Much simpler and easier connect method
  • New Feature: Support a new «nitropack_meta_box» capability which allows you to grant access to cache purge on different user roles
  • Improvement: Better status notices
  • Improvement: Stability improvements


  • Improvement: Better compatibility with ShortPixel Adaptive Images 2.x
  • Improvement: Overall stability and performance improvements


  • Improvement: Handling of stock quantity changes in WooCommerce via the REST API
  • Improvement: Overall stability and performance improvements


  • Improvement: Better handling of stock quantity changes in WooCommerce
  • Improvement: Better handling of updates to non-public post types
  • Improvement: More efficient use of our API
  • Bug fix: Fix an issue with slow cache propagation after full purge


  • New feature: Add admin bar entry with quick links to useful actions like purge cache
  • New feature: Add WP-CLI methods for invalidating/purging cache
  • New feature: Add WP-CLI method for running cache warmup
  • Improvement: Automatically detect outdated cache files restored from a backup and do not serve them to clients
  • Improvement: Automatically detect connection issues and suggest steps to resolve these
  • Improvement: Automatically start optimizing after the plugin is connected successfully
  • Improvement: Performance improvements


  • Bug fix: Resolve a fatal error in the SDK on certain PHP versions


  • Improvement: Workaround for issue with communicating to our servers in LiteSpeed environments


  • Bug fix: Resolve an issue with domains starting with «www.» which was introduced in v1.3.9


  • New feature: Ability to connect/disconnect using WP-CLI
  • Improvement: Recognize updates to WooCommerce Cart Reports post types to reduce cache purges
  • Improvement: Better Ezoic compatibility
  • Bug fix: Resolve an issue with saving the compression status when configured manually
  • Overall stability improvements


  • New feature: Add support for local AJAX caching
  • Improvement: Better SiteGround compatibility
  • Improvement: Ezoic compatibility
  • Improvement: NGINX Helper compatibility
  • Bug fix: Resolve an issue which caused problems in WP CLI
  • Improvements in the automated cache purge
  • Overall stability improvements


  • Bug fix: Resolve an issue causing insufficient permissions error


  • Bug fix: Resolve an issue with nonces in REST requests


  • Improvement: Show instructions for configuring recommended hosting settings if needed
  • Improvement: Better detection of taxonomies and archive pages
  • Improvement: Better compatibility with ShortPixel
  • Improvement: Better WP Engine compatibility
  • Improvement: Updated nonce handling
  • Bug fix: Category pages were not being optimized if archive optimization was disabled. This is now fixed.
  • Bug fix: Fix an issue with custom cache expiration for The Events Calendar


  • Improvement: Better compatibility with Kinsta
  • Improvement: Improved handling of post status transiotions
  • Improvement: Allow optimizations for archive pages


  • Improvement: Optimize all post/page types by default ot avoid confusion why a certain URL is not optimized.
  • Improvement: Automatically refresh cache based on comment actions (posting, approving, unapproving, etc.)


  • Improvement: Workaround for an issue in the WP Engine environment which causes timeouts in certain network communication scenarios. This resolves slow post/page updates in the admin area.


  • Improvement: Nicer cache purge reason messages
  • Bug fix: Resolve an issue where the home page was not always updated after publishing new posts/pages


  • New feature: Option select which post types and taxonomies get optimized
  • New feature: Option to enable/disable the automated cache purges
  • New feature: Automatically warmup new posts/pages
  • New feature: Add meta box to allow cache purge/invalidate from the post/page edit screens
  • New feature: New and improved way of tracking relationships between pages allowing for smarter automated cache purges, which affect less cache files
  • Resolve layout issues in the admin panel on mobile
  • Add compatibility with GoDaddy’s managed WordPress hosting


  • Stability improvements


  • Synchronize the nonce and page cache life times
  • Improve cache synchronization when updating menu entries
  • Improve cache synchronization when making appearance customizations
  • Fix false «plugin conflict» error with WP Optimize
  • Stability improvements


  • Added support for Fusion Builder’s container expiration
  • Added compatibility with the Post Expirator plugin
  • Added compatibility with the Portfolio Sorting plugin
  • Stability improvements


  • Stability improvements


  • Improved cache management for scheduled posts
  • Fix cache expiration for posts scheduled for dates in the past
  • Better update handling


  • Stability improvements


  • Prevent crashes originating from missing functions.php file


  • Better handling of automated updates


  • Automatically update the advanced-cache.php file after plugin update


  • Performance and stability improvements


  • Initial release