• Resolved hamoon1364

    (@hamoon1364)


    Hello, Your plugin is a good one, but why doesn’t it have the feature to automatically clear the cache after publishing a new post? In addition to that, the feature to automatically clear the cache at specified times doesn’t work and the cache size keeps increasing until it reaches 5-6 GB… We are constantly forced to manually clear the cache. I am using the free version, but we need these options that all other plugins have:

    • Automatically clearing the cache at a specific time (which is broken in your plugin and doesn’t work)
    • Automatically clearing the cache for the home or the entire site after publishing a new post
Viewing 1 replies (of 1 total)
  • Plugin Support wpmansour

    (@wpmansour)

    Hello,

    Thank you for your feedback. We understand the importance of automatic cache management and apologize for any inconvenience you are experiencing.

    The WP-Optimize’s functionalities are working as intended on our staging environment:

    1. Automatically clearing the cache at specified times.
    2. Automatically clearing the cache for the home or the entire site after publishing a new post.

    To troubleshoot why these features are not working on your site, please follow these steps:

    • Ensure Cron Jobs Are Running:
      • Verify that WordPress cron jobs are enabled and functioning properly. Check for the DISABLE_WP_CRON setting in your wp-config.php file and ensure it is set to false.
    define('DISABLE_WP_CRON', false);
    • Check for Plugin or Theme Conflicts:
      • Deactivate all other plugins and switch to a default theme (e.g., Twenty Twenty-One). Then, reactivate WP-Optimize and test if the cache functionalities work. If they do, reactivate your plugins and theme one by one to identify any conflicts.
    • Server Configuration:
      • Ensure your server configuration supports cron jobs and has no restrictions that might prevent WP-Optimize from running its scheduled tasks. If necessary, set up a real cron job on your server to trigger WordPress cron jobs.
    • Setting Up a Real Cron Job:
      • Access your server’s cron settings (via cPanel or SSH) and add the following line:
    * * * * * wget -q -O - https://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

    This cron job will run every minute. Make sure to replace https://yourdomain.com with your actual domain name.

    • Review WP-Optimize Settings:
      • Double-check the WP-Optimize settings for cache management to ensure they are configured correctly.

    If these steps do not resolve the issue, there might be a deeper problem with your specific setup, server environment, or conflicts with other plugins/themes.

    For more robust features and dedicated support, consider upgrading to WP-Optimize Premium, which allows us to directly investigate and resolve issues on your site.

    Thank you for your understanding and cooperation.

    Best regards,

    • This reply was modified 6 months ago by wpmansour.
Viewing 1 replies (of 1 total)
  • The topic ‘cache lifespan not working’ is closed to new replies.