|
关注:1
2013-05-23 12:21
求翻译:If the page changes for every request, then you certainly need to build the response at request time. If it changes only periodically, however, you could do it two ways: you could periodically build a new Web page on the server (independently of client requests), or you could wait and only build the page when the user 是什么意思?![]() ![]() If the page changes for every request, then you certainly need to build the response at request time. If it changes only periodically, however, you could do it two ways: you could periodically build a new Web page on the server (independently of client requests), or you could wait and only build the page when the user
问题补充: |
|
2013-05-23 12:21:38
如果为每个请求页面的变化,那么你肯定需要建立在请求时的响应。如果只有定期改变,但是,你能做到这一点有两种方式:您可以定期在服务器上建立新的网页(独立的客户端请求),或者你可以等待,只有建立页面,当用户请求。正确的做法,视情况而定,但有时它更方便做了后者:等待用户请求。例如,天气报告或头条新闻网站可能动态生成的网页,也许回到以前建成的页面,如果该网页仍然是最新的。
|
|
2013-05-23 12:23:18
正在翻译,请等待...
|
|
2013-05-23 12:24:58
|
|
2013-05-23 12:26:38
如果页更改为每个请求,您当然需要在请求时生成响应。如果它仅定期更改,但是,你能办到两种方法: 定期可以建造新的 Web 页 (客户端请求),独立的服务器上,也可以等待并只生成页,当用户请求它。正确的方法取决于这种情况,但有时做后者更方便: 等待用户的请求。例如,天气报告或新闻头条新闻站点可能会生成这些页面动态,也许返回以前生成的页面
|
|
2013-05-23 12:28:18
|
湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区