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?
- The topic ‘do not cache the date and time or specific part/division?’ is closed to new replies.