Morning all! 🙂
I loaded this blog on another PC this morning and noticed that yesterday’s post didn’t appear until I did a Ctrl-F5 to force a refresh. This means the blog template wasn’t refreshing, so what was displayed came from the browser cache.
To that end I have update the header.php page of the template to add the following lines, so as to force the browser to retrieve the latest info rather than reading from cache. I hope others may find this useful.
<meta http-equiv=”Last-Modified” content=”<?php echo gmdate(“D, d M Y H:i:s”) . ” GMT”?>” />
<meta http-equiv=”Cache-Control” content=”no-cache, must-revalidate” />
<meta http-equiv=”Pragma” content=”no-cache” />