使用 IIS 时如何避免进行多次 SSL 协商
我使用的是 IIS7,我们所有的文件都是通过 HTTPS 提供的。在查看瀑布视图 (WebPageTest) 时,我注意到为每个文件进行 SSL 协商需要一些时间。有没有办法可以配置服务器或增加 IIS 7.0 或 Windows 中 SSL 或 TCP 连接的超时,以便浏览器使用初始 SSL 协商对该页面上或用户会话期间的所有文件发出后续请求?
我将不胜感激你的帮助。
I am using IIS7 and all our files are served through HTTPS. While looking at the Waterfall View (WebPageTest), I noticed that it takes a some time to do the SSL negotiations for each file. Is there a way I can configure the server or increase timeout for the SSL or TCP connection in IIS 7.0 or Windows so that the browser uses the initial SSL negotiation to make subsequent requests for all the files on that page or during a user's session?
I would appreciate your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于连接被丢弃,SSL 正在重新协商。您需要在 IIS 上启用 keep-alive(不知道为什么默认情况下不启用)。看起来这向您展示了如何在 IIS 7 上执行此操作:http://www.iis。 net/ConfigReference/system.webServer/httpProtocol
SSL is being re-negotiated because the connections are being dropped. You need to enable keep-alive on IIS (no idea why it's not on by default). Looks like this shows you how to do it on IIS 7: http://www.iis.net/ConfigReference/system.webServer/httpProtocol