Title: WP_CACHE with AO
Last modified: March 19, 2021

---

# WP_CACHE with AO

 *  Resolved [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/)
 * Hey Frank 🙂
 * I need your help again.
    I Want activate WP_CACHE without any other plugin and
   do it throw the php in the wp_config:
 *     ```
       /** WordPress Cache */
       define( 'WP_CACHE', true );
       define( 'ENABLE_CACHE', true );
       define( 'CACHE_EXPIRATION_TIME', 3600 ); // in seconds
       ```
   
 * is perfect for me and will match the DNS I have from APACHE TO NGINX.
    But I 
   need to know if it will conflict with AO or this must a plugin.
 * I dont want a plugin.
    I want pure PHP with NGINX is ok for me.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp_cache-with-ao%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14204924)
 * these constants will not conflict with AO no, but I don’t think this will activate
   page caching as that is not part of WordPress core?
 *  Thread Starter [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14209763)
 * This way i am asking you…
    if have benefited from it even if you are not put 
   an actual plugin managing WordPress.
 * PHP-FPM will read it and process it?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14209945)
 * yeah, but PHP-FPM will read & process it, but they are merely constants that 
   are being set and in and off themselves they do nothing. you could also add
 * `define( 'WP_SAYS', 'cheese' );`
 * and it would have the same effect if there is nothing in the code somewhere that
   reads that constant and does something with/ based on it.
 * as far as I know the constants you set will not trigger page caching in WordPress
   core as there is no page caching in core, so you would need a plugin to do something
   with those constants?
 *  Thread Starter [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14212289)
 * this way i ask you, because you say the truth 🙂
 * Do you have a recommendation for me? except for key-CDN? this plugin is a nightmare.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14212683)
 * well, WP Super Cache is a golden oldie, still use it myself on some site. Or 
   the newer Speed Booster Pack maybe? 🙂
 *  Thread Starter [Nadav Levi](https://wordpress.org/support/users/123nadav/)
 * (@123nadav)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14248154)
 * what is a speed booster? wp super cache is too much, i already have Nginx.
    i
   need something lite style KeyCDN with good support and connect properly to the
   new WordPress API and not hide him.
 * (btw the problem with KeyCDN he creates another layer of cache on top of AO and
   this layer is hiding the API REST URL, AND let’s NOT TALK ABOUT, THAT THE BOTH
   EVERYTIME READ ANOTHER VERSION OF YOUR SITE BECAUSE THIS PLUGIN, THE WORST IS
   THE SUPPORT).
 * If i was able to activate that and use it only with the php or a plugin only 
   create the advance-cache.php for php-fpm.
 * bat-cache is a good idea but is not operate properly and didn’t was update for
   long time 🙁
 * speed booster pack? what is it?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14248168)
 * > i already have Nginx.
 * is nginx doing page caching already?

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

The topic ‘WP_CACHE with AO’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/wp_cache-with-ao/#post-14248168)
 * Status: resolved