history.go(0) 有时是从缓存中读取
location.reload() 重服务器中读取

解决方案 »

  1.   

    Reloads the current page.Syntaxlocation.reload( [bReloadSource])
    ParametersbReloadSource Optional. Boolean that specifies one of the following possible values: false Default. Reloads the page from the browser cache. 
    true Reloads the page from the server. 
    location.reload(false) from browser cache = F5
    location.reload(true)  from the server.   = 转到
      

  2.   

    location.reload() 要重新连服务器以读得新的页面(虽然页面是一样的)
    history.go(0) 除非有<%..%>等需在服务端解释才能生成的页面代码,否则直接读取缓存中的数据
      

  3.   

    history.go(0)  不刷新location.reload() 刷新