This article outlines some common reasons why NitroPack doesn't optimize your website.
For a detailed breakdown of all possible error codes related to optimization attempts, refer to this article.
Website Isn't Connected To NitroPack
First, make sure you’ve connected your website to NitroPack. If you haven’t, please do so by following our instructions:
- Connecting Your Website (for all websites)
- Install, Connect & Update NitroPack (for WordPress websites)
- Install, Connect & Update NitroPack (for OpenCart stores)
Third-Party Services Aren't Integrated
Second, if you're using any of the third-party services listed below, you’ll need to go through a few more steps before NitroPack can work its magic.
You have to apply a few additional settings for Cloudflare to work with NitroPack. We have a separate article describing how to do so. Please refer to it via the link below.
2. Reverse Proxy (Varnish, NGINX, etc.)
If you’re using a Reverse Proxy server, you need to configure a few settings to synchronize both caches. Again, we have a separate article on the topic.
If your website is protected by Sucuri, you must configure API access, so NitroPack can sync both caches and ensure the best possible performance. Check out our article to see how you can do that.
4. WP Engine or Kinsta
In order for URL tagging and post scheduling to work correctly, NitroPack has to access your website directly, bypassing the caching layer provided by WP Engine or Kinsta.
To achieve this, please contact WP Engine’s or Kinsta's support team and ask them to configure a cache exclude based on the "nitropack-nocache" cookie. Feel free to use their chat support option, as this is a really quick thing to do.
Please phrase your request like this:
“Hey, can you please configure a cache exclude based on the following cookie: nitropack-nocache”
Once they confirm that the exclude is in place, you should be all set for using NitroPack.
5. Compatibility Issues
Other tools, services and hosting setups may also require additional configuration to work correctly with NitroPack. Please visit the Compatibilities page in our Help Center to check if you're working with one of these tools, services and hosting providers.
Optimizations, Pageviews, or CDN Limit Reached
Finally, if you've been using NitroPack for a while, you might've reached your plan's resource limit.
Go to your NitroPack Dashboard to check if that's the case. If you've maxed out your resources, you need to wait until next month's reset or upgrade to a plan with higher limits.
If you've checked everything listed above but NitroPack still doesn't optimize your website, please contact us.