Automatically refresh a webpage ONLY when content has changed?
Hey there,
I'm in the process of writing a simple digital signage application, which is essentially some javascript displaying in a fullscreen webrowser which scrolls the contents of a HTML file up the screen. That side of it works well.
I've also written a simple interface to update the contents.htm file using FCKeditor, but at the moment to get it to display the new contents requires a manual refresh of the webpage, which isn't ideal. (the screens for this are going to be fairly high up on a wall, and the PC is going to be the other side of the wall)
What i'm looking for is some javascript or simelar which will automatically refresh the page only if the contents.htm file has been changed. Is this possible?
I know I could use a set timed refresh on the page, say every 5 minutes, but the javascript takes a while to get going when you load the page, and I don't really want it doing this every 5 minutes if it can be helped. The contents are likely to only be updated once or twice a week.
Any ideas gratefully received.
Mike.