Quick Cache (Speed Without Compromise)
do not cache the date and time or specific part/division? (1 post)

  1. qzha017
    Posted 3 years ago #

    Hi there I am displaying the time with:

    <?php echo date_i18n('j F Y', time()); ?>

    in the header.php and wondering how do I not cache it? At the moment if I visit the site for the first time it will show the correct updated time, but if I revisit it will be cached (loads very fast) but the time remains the same as when I first visited, which is not correct.

    How do I overcome this?

    Thanks everyone


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic