Title: define( &#8216;WP_CACHE&#8217;, true ); needed?
Last modified: September 17, 2025

---

# define( ‘WP_CACHE’, true ); needed?

 *  Resolved [sjswiwq](https://wordpress.org/support/users/sjswiwq/)
 * (@sjswiwq)
 * [6 months, 4 weeks ago](https://wordpress.org/support/topic/define-wp_cache-true-needed/)
 * Hi there,
   In Autoptimize free version, do we need to have this in the wp-config.
   php define( ‘WP_CACHE’, true );?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 months, 4 weeks ago](https://wordpress.org/support/topic/define-wp_cache-true-needed/#post-18645173)
 * no, Autoptimize (the base, free plugin) does not do page caching, so that constant
   is not needed for AO.
 * hope this clarifies,
    frank

Viewing 1 replies (of 1 total)

The topic ‘define( ‘WP_CACHE’, true ); needed?’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 months, 4 weeks ago](https://wordpress.org/support/topic/define-wp_cache-true-needed/#post-18645173)
 * Status: resolved