• Resolved RobotFX

    (@wattaman)


    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

    (@wattaman)

    ps the /wp-content/cache/wpo-cache is empty (except for the index.php file)

    @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

    (@wattaman)

    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?

    @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

    (@wattaman)

    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?

    Hi @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

    (@wattaman)

    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

    (@wattaman)

    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.