Site showing wrong date after midnight – caching issue?

  • Unknown's avatar

    Running into a weird issue – my site displays the current date, but after midnight it still shows yesterday’s date until I manually refresh cache.

    Using WP Rocket. Is there a way to exclude specific dynamic elements from caching? Or should I be handling this differently?

    Site is basically a “what’s today’s date” reference tool, so accuracy matters!

    Any suggestions appreciated 🙏

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Have you considered reducing the life span of the cache?

Log in or create an account to reply