In this article, you can find details about the error codes for failed optimizations and what to do about them.
You can find the specific error code by hovering over the "Skipped" text.
Skipped 2000: Optimization was skipped because X-Nitro-Header: Disabled was detected
This means that at the time of the optimization attempt, one of the following was true:
The service was in Test Mode.
The page was excluded from optimization via the Excluded URLs setting or from the “Select what post/page types get optimized” setting in the NitroPack plugin.
The Included URLs setting is active, allowing NitroPack to optimize only the list of included URLs and the skipped URL is not part of the list.
NitroPack does not optimize the page type by default (e.g., checkout, cart and user profile pages).
Make sure to perform an individual purge of the URL after fixing the issue. The page should be optimized soon after that.
Skipped 2006: Optimization has been skipped due to a third party caching system detected
You may encounter this error if you’re using another caching plugin. In that case, please turn off all other caching plugins listed in this article.
Redirected 301/302: URL is permanently/temporarily redirected to another URL
Check if the URL in question actually redirects to another one. If it does, remove it from the sitemap, if you’ve submitted one in the Cache Warmup panel;
Also, please make sure that the sitemap is up to date with any changes you’ve made.
Forbidden 403: Your server did not allow us to optimize the page
Another cause for this error could be Cloudflare’s Super Bot Fight Mode. We’re in contact with Cloudflare to resolve the issue, but in the meantime, you will have to disable this feature.
404: Not Found
This error means that the page was not found. This can indicate the presence of dead links somewhere on the site or the sitemap. Please make sure that all links on your site/sitemap are up to date.
When a URL returns a 404 Not Found error, NitroPack cannot optimize it.
5002: Reading response timed out
5009: Not an HTML page
This error appears when the system receives an optimization request for an URL that doesn’t point to a web page. For example, a URL that points to a CSS file directly.
5011: The page source file is too big