What I mean is that users are going to my site but not refreshing the page so see new content. Is there some special tag I can implement on my page?
This should do it... <META HTTP-EQUIV="REFRESH" CONTENT="30; URL=http://www.digitalpoint.com/"> Code (markup): That will refresh to the URL listed after 30 seconds.
The CONTENT="30; URL=http://www.digitalpoint.com/"> bit never made sense to me. Why not like all tags and parameters two quotes (or none) as oppose to the ; :S Anyway, that is one way of doing it. There is indeed a no cache option too but dunno the code.
yep the 30 second refresh is an ok idea, but will cause alot of bandwidth usuage and annoyance to the readers. I heard of the nocache also, can't remember the exact code. Will that help though, since the site that's on their computers is the cached version. It's difficult to explain, but I'd like to just create a one-time huge refresh which updates the cache on their pc.
woah, it's here - <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> Thanks guys, hope this is some use to others too...
It actually works best if you use use the HTTP directives instead of HTML. Browsers don't always seem to respect what's in the HTML, but they seem to pay attention to the HTTP directives.
You also need to take care to see that you are addressing both HTTP 1.0 and HTTP 1.1. In PHP, for example: // HTTP/1.1 header("Cache-Control: no-cache"); // HTTP/1.0 header("Pragma: no-cache"); PHP: HTTP 1.1 will always honor that directive; HTTP 1.0 will usually, but it cannot be guaranteed. (Note that if you are actually using PHP to send those headers, you need to take the standard PHP cautions about headers, to make sure that they truly get sent--check the PHP manual for detail, but in brief, you need those statements before either the HTML or the PHP outputs anything (else the headers are already on their way by the time you try to add to them).