Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 iis 6 上关闭 Etags,因为我正在对多个服务器进行负载平衡,我不希望 etag 成为问题。
我不认为您实际上将它们关闭,但您可以设置该值。转到默认网站属性,HTTP 标头选项卡。然后添加一个名为“Etag”且值为“”(两个双引号)的自定义 HTTP 标头。
那么你的 Yslow 分数就会提高。=)
我相信在您的情况下要做的事情是将场中的所有服务器设置为使用相同的 Etag 值。这将允许在场中的所有服务器上正确识别内容。