标准 DOM 文档里这样描述的:refresh Method:
Refreshes the current document.
(刷新当前文档)reload Method:
Reloads the current page.
(重载当前页面)reload 会导致从 URL 指定的来源重新加载所有资源(缓冲的情况不考虑)
refresh 只是重绘了 DOM 树
Refreshes the current document.
(刷新当前文档)reload Method:
Reloads the current page.
(重载当前页面)reload 会导致从 URL 指定的来源重新加载所有资源(缓冲的情况不考虑)
refresh 只是重绘了 DOM 树
reload 就是输入url重新打开页面
reload=在地址栏按enter
在地址栏按enter是重新载入数据,需要和服务器通信?
是这样吗?
感觉都和服务器通信了阿。