Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GatorDog

    (@gatordog)

    That’s an oversite, it’s validating for a named path, so it rejects the ‘/’. Will change that in the next release. In the meantime, you’d have to put something like this in your functions.php file to prevent caching the home page:

    add_action('init', function(){
        if (is_home() && !defined('DONOTCACHEPAGE')) {
            define('DONOTCACHEPAGE', true);
        }
    });
    Plugin Author GatorDog

    (@gatordog)

    This has been addressed in the latest version, 2.0.9. You can explicitly prevent caching to “/” from the custom settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable Cache Entirely on Homepage’ is closed to new replies.