Title: WP Optimize output when using WP CLI commands
Last modified: May 22, 2025

---

# WP Optimize output when using WP CLI commands

 *  Resolved [thetallone](https://wordpress.org/support/users/thetallone/)
 * (@thetallone)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/wp-optimize-output-when-using-wp-cli-commands/)
 * Version 4.2.1
 * When using WP CLI I’m getting unwanted output from WP Optimize. For example, 
   when I run e.g. `wp plugin list --update=available --format=count` I’d expect
   to see a number e.g. `0`. Instead, I see
 *     ```wp-block-code
       0<!-- WP Optimize page cache - https://getwpo.com - page NOT cached because: Output is too small (less than 255 bytes) to be worth caching -->
       ```
   
 * This does not happen with v4.1.1.
    -  This topic was modified 10 months, 3 weeks ago by [thetallone](https://wordpress.org/support/users/thetallone/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Damilare](https://wordpress.org/support/users/deabiodun/)
 * (@deabiodun)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/wp-optimize-output-when-using-wp-cli-commands/#post-18478983)
 * Hi [@thetallone](https://wordpress.org/support/users/thetallone/)!
   Thanks for
   bringing this to our attention. On checking, I was also able to replicate the
   extra output.I’ll reach out to our development team about this and will let you
   know what I find.
 * Regards.
 *  Thread Starter [thetallone](https://wordpress.org/support/users/thetallone/)
 * (@thetallone)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/wp-optimize-output-when-using-wp-cli-commands/#post-18488728)
 * Thanks Damilare. Do they have a reply? Please tell me this isn’t intentional!
   🙏
 *  Plugin Support [statyanenko](https://wordpress.org/support/users/statyanenko/)
 * (@statyanenko)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/wp-optimize-output-when-using-wp-cli-commands/#post-18488754)
 * [@thetallone](https://wordpress.org/support/users/thetallone/) We have already
   fixed the issue, and it will be included in the next release. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP Optimize output when using WP CLI commands’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [wp-cli](https://wordpress.org/support/topic-tag/wp-cli/)

 * 3 replies
 * 3 participants
 * Last reply from: [statyanenko](https://wordpress.org/support/users/statyanenko/)
 * Last activity: [10 months, 2 weeks ago](https://wordpress.org/support/topic/wp-optimize-output-when-using-wp-cli-commands/#post-18488754)
 * Status: resolved