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

前端 未结 5 1805
我寻月下人不归
我寻月下人不归 2020-12-15 06:44

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 refre

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-15 07:16

    Although the refresh meta tag is the simpler solution to update information on a webpage it is also a pretty old and dated solution.

    Imagine for example that Google maps would need to refresh the whole page when you pan the map view. There is where ajax comes in, you can find a lot information about it online like this for example.

    I don't know specifically what was your intention but just wanted to give this background information, if just a refresh is really what you need then the answers from box86rowh and ckittel is all you need.

提交回复
热议问题