Replies: 2 comments 6 replies
-
You just make an assumption and then ask for a solution... First of all, as you said, I don't know what exactly setup you were using. |
Beta Was this translation helpful? Give feedback.
-
If you open F12 and switch to the network tab while watching a video on YouTube, you'll notice that query parameters to YouTube's video CDN include your public IP address. When your actual public IP changes ( |
Beta Was this translation helpful? Give feedback.
-
我有两台服务器,A美国、B新加坡,已经配置负载均衡。
开始,我通过A访问youtube,一切很正常,整个访问链路:客户端->服务器A->美国的youtube cdn站点。
因为网络原因,sslocal切换到了服务器B。这个时候访问的链路变成:客户端->服务器B->美国的youtube cdn站点。
很明显,后者的访问链路虽然能通,但是并不是最优的。
导致这个现象,我估计是因为sslocal把解析到的网站地址缓存在客户端,当客户端被切换另一台服务器的时候,之前解析到的ip地址缓存没有清空,仍用于后续的服务器创建链接用。
能不能优化一下这块缓存逻辑?
Beta Was this translation helpful? Give feedback.
All reactions