Title: Caching won&#8217;t run
Last modified: March 15, 2021

---

# Caching won’t run

 *  Resolved [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/)
 * I have the Enable page caching enabled, and every time I click the preloading
   Run now button there is a popup message stating that ‘Page cache is disabled.’
   Also, there is no purge cache for the pages in the admin bar menu, only for the
   minified files. So I’m assuming that for some reason caching pages doesn’t work.
   Why this could happen?
    I remember this working a while ago (Last preload finished
   at 11:30 am, February 9, 2021), until I have disabled page caching because it
   had some issues with logging in/out (probably due to not setting any rules for
   page caching in the advanced tab). Now I would like to use it again.

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

 *  Thread Starter [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14183357)
 * ps the /wp-content/cache/wpo-cache is empty (except for the index.php file)
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14187627)
 * [@wattaman](https://wordpress.org/support/users/wattaman/) To Preload urls requires
   Page caching option enabled, Can you please let us know if detail what issues
   you face when page caching is enabled?
 *  Thread Starter [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14188313)
 * I have the Enable page caching enabled, and every time I click the preloading
   Run now button there is a popup message stating that ‘Page cache is disabled.’
   Also, there is no purge cache for the pages in the admin bar menu, only for the
   minified files. So I’m assuming that for some reason caching pages doesn’t work.
   Why this could happen?
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14193239)
 * [@wattaman](https://wordpress.org/support/users/wattaman/) Can you please try
   to de-activate the plugin and activate it again?
 * Also do you have any other cache plugin installed on your site? If yes can you
   please disable other cache plugin and check if it helps to fix the issue?
 *  Thread Starter [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14197248)
 * Tried everything. I wonder if it’s because of the wordpress_* that I have set
   in the ‘List of cookies that will prevent caching when set.’. Maybe the preloading
   Run now button also obeys the cookie rule?
 *  [Marc Lacroix](https://wordpress.org/support/users/marcusig/)
 * (@marcusig)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14198875)
 * Hi [@wattaman](https://wordpress.org/support/users/wattaman/),
 * > I wonder if it’s because of the wordpress_* that I have set in the ‘List of
   > cookies that will prevent caching when set
 * No that wouldn’t happen. This might prevent pages from being cached, but the 
   preload would run.
 * Using FTP or a file manager of some sort, could you check the following:
    – `
   wp-config.php` contains `define('WP_CACHE', true);` – `wp-content/advanced-cache.
   php` exists, and contains references to WPO (e.g. `WPO_ADVANCED_CACHE`) – `wp-
   content/wpo-cache/config/yourdomain-name.com.php exists`
 * Marc
 *  Thread Starter [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14199659)
 * Hi,
 * All these are fine and below is the config file content for the domain, hopefully
   it will help you help me.
 * `$GLOBALS['wpo_cache_config'] = json_decode('{"enable_page_caching":true,"page_cache_length_value":
   1,"page_cache_length_unit":"hours","page_cache_length":3600,"cache_exception_urls":["\/
   cart","\/shopping-cart","\/?s=*","\/account","\/orders","\/userlogin","\/register*","\/
   wp-login.php*"],"cache_exception_cookies":["ALIDS_CART","orderby","wordpress_*","
   wp-settings-*","CookiePreferences-*","ads_checkout_form","__stripe_mid","__stripe_sid"],"
   cache_exception_browser_agents":[""],"enable_sitemap_preload":false,"enable_schedule_preload":"
   1","preload_schedule_type":"wpo_daily","enable_mobile_caching":"0","enable_user_caching":"
   0","site_url":"https:\/\/gadgets-mall.com\/","enable_cache_per_country":false,"
   purge_cloudflare_cache":"0","wpo_cache_cookies":[],"wpo_cache_query_variables":[]}',
   true);`
 * I think it is important to mention again that this did work before, then I’ve
   deleted the cache and disable it. It might have happen before the latest WP update,
   not exactly sure when it worked.
 * Can this happen because the nginx is configured to store the cache files in the/
   var/run/ folder instead of a physical location? Or are these connected in any
   way?
 *  Thread Starter [RobotFX](https://wordpress.org/support/users/wattaman/)
 * (@wattaman)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14209496)
 * ok, feel free to close this. looks like a php restart fixed my issue
    sudo service
   php7.3-fpm restart

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

The topic ‘Caching won’t run’ 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/)

 * 8 replies
 * 3 participants
 * Last reply from: [RobotFX](https://wordpress.org/support/users/wattaman/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/caching-wont-run/#post-14209496)
 * Status: resolved