• Resolved mikeg64

    (@mikeg64)


    Hi all. I’m using Comet Cache as well as Easy Timer (https://www.kleor.com/easy-timer/en/). The issue I’m having is that I have a count-up timer on my web site’s home page that is supposed to show the number of days since a certain date, but due to the cache it doesn’t update each day, but each 7 days. I tweaked CC to refresh the cache daily but, if the first view is any sizeable time after midnight – say 10 a.m. – then the next day, the timer will still be off til 10 a.m. when the cache expires.

    Are there any ways around this? I’m just in the process of testing all this at this point and want to see if there is a way around this issue before I move further forward.

    Thanks in advance.
    Mike

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m using a count-up timer that updates every day (look toward the bottom of this page: https://christianboyce.com/about/about-me/, and I also am using Comet Cache. The script is “xdayssince.js” and I got it from https://www.javascriptkit.com. Free.

    @mikeg64 The only types of dynamically updating timers that will work with WordPress caching plugins are those that use JavaScript to update. WordPress caching plugins capture the output from WordPress and serve that cached HTML to future visitors. If the timer that you’re using relies on the output of WordPress to update, then it most likely won’t work with WordPress caching plugins, including Comet Cache.

    I recommend checking with the developer of the timer plugin you’re using to see if it will work with WordPress caching plugins, or you might try another timer like what @christianboyce mentioned above.

    I hope this helps! ??

    Thread Starter mikeg64

    (@mikeg64)

    Thanks for your input, guys. I appreciate it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Countdown/up timer not refreshing’ is closed to new replies.