html - Auto Refresh a page in Rails 3 -
how periodically auto refresh page paramaters in rails 3?
place following html within <head>
of applicable views. should not used when page had post parameters sent, parameters. change 5
interval, in seconds, want page refresh at.
<meta http-equiv="refresh" content="5" />
though works, i'd recommend considering using ajax refresh needed content not faster less jolting user , have lower impact on server's load.
this not specific rails , applies webpage. since rails server-side, , server cannot control browser, rails has no control on page refreshing.
Comments
Post a Comment