You've probably figured out by now that the "bad" auto refresh code would create a significant workload on the server if lots of people want to see the status.
您可能已经发现,如果有很多人想查看数据库状态,那么 “糟糕” 的自动刷新代码将在服务器上产生很大的工作负载。
In addition, no HTML response should be generated after an auto-save because the browser doesn't need any refresh.
此外,在自动保存后也不应生成任何HTML响应,因为浏览器不需要任何刷新。
In other words, if your page needed to show constantly updated information, you either had to put in some kind of auto-refresh hack or make the user refresh or click a link to make things happen.
换言之,如果页面需要经常显示被更新的信息,那么就必须放上某类自动刷新hack,或者是让用户刷新或单击一个链接执行刷新。
应用推荐