Refresh HTML Page in Browser Automatically on Timer - Every 15 Min

Drew picture Drew · Aug 26, 2011 · Viewed 65.2k times · Source

Is it possible to automatically refresh a website on a timer, like every 15 minutes? Basically, we will be making updates to a website and we want it to automatically refresh so it will show up on a big monitor we have which is controlled from a different computer.

So instead of going to that other computer to click refresh when changes are made, it would just automatically refresh so we can keep it up there.

Thanks!

Answer

ckittel picture ckittel · Aug 26, 2011

Place this inside <head> to refresh page after 900 seconds:

<meta http-equiv="refresh" content="900"> <!-- Refresh every 15 minutes -->

For what it's worth, the w3c has officially deprecated this feature, but browsers continue to support this feature. For your purposes, this is an ideal solution. It's just not a recommended solution for "public" (www)-facing web sites any more.