24s*_*ron 4 vue.js vuex nuxt.js
我有一个 vue nuxt 应用程序,当我使用单个选项卡时效果很好
When I open 3 tabs, for the application. The 2 first tabs works good and continue working but the 3's tab does not work This happened in chrome and in firefox (so it does not the browser)
The page loaded in the first load, but when trying to move to another page seems that page script does not loaded and the app failing. (the status of the request does not complete and stay on pending)
在开发模式下,Nuxt.js 创建 2 个到服务器的持久连接,以接收热更新并保持页面处于活动状态。每个浏览器对一个站点允许拥有的特定服务器的并发连接数都有自己的限制,因此如果您在同一浏览器的多个选项卡中打开同一个 Nuxt.js 站点,您可能会超过浏览器的限制。
更多信息:https : //tools.ietf.org/html/rfc6202#section-5.1
“我认为是因为 Chrome 默认限制每个域 6 个 HTTP 套接字。例如,对我来说,当我打开第 7 个选项卡时,它会显示等待可用套接字。”
因此,尝试在 Firefox 上进行测试,也许可以查看这个问题,ti 可以提供帮助https://github.com/nuxt/nuxt.js/issues/6007
| 归档时间: |
|
| 查看次数: |
953 次 |
| 最近记录: |