• Resolved rea5245

    (@rea5245)


    Hi,

    I have some PHP on my page (https://northwoodnhtransferstation.com/), inserted using a PHP Code Widget (https://wordpress.org/plugins/php-code-widget/). It checks today’s date and figures out whether my town’s dump is open today.

    It’s not working; the PHP code is not updating the date. I think the problem is that the server is caching the page.

    I have define(‘WP_CACHE’, true); in my wp-config.php file. Clearing my browser’s cache doesn’t help.

    What am I missing?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Your page has the comment <!--Generated by Endurance Page Cache-->. This is a cache installed by your host. Please contact your host for details on how to manage it and whether you can exclude portions of your page(s).

    Thread Starter rea5245

    (@rea5245)

    Looks like the Endurance Page Cache was the problem. There’s a setting in WordPress to disable it (Settings -> General -> scroll to the bottom).

    Thank you!

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

The topic ‘Help: can’t stop caching’ is closed to new replies.