• My provider is complaining that the file jquery-t-countdown-widget/js/now.php uses a lot of resources. As it looks to me, this file checks wp-load.php to get the right website time, correct? Is there an alternative for this? E.g. JS only, without actual server time. It’s not that important, the countdown timer roughly indicates the time to a future event.

    Thanks in advance.

    https://www.ads-software.com/plugins/jquery-t-countdown-widget/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Baden

    (@baden03)

    Check out version 2.3.8b on GitHub. This version has the ability to toggle force server time check in the plugin option page. Your feedback is appreciated.

    Thread Starter DearDrBob

    (@deardrbob)

    Thank you! Did the upgrade and shows checkbox for ‘Force Current Server Time’. So, if I leave this unchecked, it had no/minimal impact on the server?

    Edit: Forgot to check the frontend … With Force Current Server Time unselected, the countdown clock doesn’t work: shows static time only. JS console error: Uncaught ReferenceError: tminusnow is not defined.

    Hope this feedback is of help to you.
    Will activate force server time for now, then countdown clock works fine again (albeit probably same resource consumption as before)

    Plugin Author Baden

    (@baden03)

    yup… we noticed that this morning… re-working it and will send you an update when we have something a bit more tested.

    Thread Starter DearDrBob

    (@deardrbob)

    Hi @baden, any indication when this might become available?
    Thanks!

    Plugin Author Baden

    (@baden03)

    puh… monday at the latest. we’ll take another stab this weekend. Hang tight, we’ll get it sussed out.

    Plugin Author Baden

    (@baden03)

    still on the to-do list…

    I’m getting the same feedback from our hosting provider. “now.php” is a huge resource hog.
    Any timeframe on this?
    Thanks!

    I have stopped using this plugin until this now.php issue is resolved. It’s probably the most poorly coded php file I have ever encountered. If you can’t get the time without messing up an entire server, let the user put in how many hours will be counted down and just convert it into weeks/days/hours. It’s simple really.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘File now.php consumes too much server resources’ is closed to new replies.