This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.
Este artigo foi traduzido automaticamente.
这篇文章已经过机器翻译.放弃
Translation failed!
选择性缓存重定向
选择性缓存重定向将特定类型内容(例如图像)的请求发送到一个缓存服务器或一组缓存服务器,并将其他类型的内容发送到另一个缓存服务器或一组缓存服务器。您可以在透明、反向代理或转发代理模式下配置高级缓存重定向。
在选择性缓存重定向中,Citrix ADC 设备拦截客户端请求,并将不可缓存的请求转发到客户端请求中的原始目标。对于可缓存请求,设备将请求发送到可提供特定内容类型内容内容的目标缓存服务器。
选择性缓存重定向包括配置缓存重定向策略以及配置内容交换策略。设备首先评估绑定到缓存重定向虚拟服务器的缓存重定向策略。如果请求与缓存重定向策略匹配,则缓存重定向虚拟服务器将请求发送到源服务器或源的负载平衡虚拟服务器。如果没有与请求匹配的缓存重定向策略,设备会评估绑定到缓存重定向虚拟服务器的内容交换策略。如果内容交换策略与请求匹配,则缓存重定向虚拟服务器将请求重定向到缓存的负载平衡虚拟服务器。
要配置选择性缓存重定向,请首先在 Citrix ADC 设备上启用缓存重定向、负载平衡和内容切换。然后,为缓存和关联的 HTTP 服务配置负载平衡虚拟服务器。之后,配置缓存重定向虚拟服务器,并将缓存重定向和内容交换策略绑定到该服务器。绑定策略后,可以将虚拟服务器配置为优先使用基于规则或基于 URL 的内容切换策略。
在边缘部署拓扑中为透明模式缓存重定向配置时,设备会将所有可缓存的 HTTP 流量发送到透明缓存场。客户端通过设备访问 Internet,该设备配置为在端口 80 上接收流量的第 4 层交换机。
设备可以将图像请求(例如 .gif 和 .jpg 文件)指向透明缓存场中的一台服务器,并将所有其他静态内容请求指向场中的其他服务器。对于此配置,您可以配置内容切换策略以将图像发送到映像缓存,并将所有其他可缓存的内容发送到默认缓存。
注意: 此处描述的配置适用于透明的选择性缓存重定向。因此,它不需要源的负载平衡虚拟服务器,就像反向代理配置一样。
要配置此类选择性缓存重定向,请首先启用缓存重定向、负载平衡和内容切换。然后,为缓存配置负载平衡虚拟服务器并配置关联的 HTTP 服务。然后,配置缓存重定向虚拟服务器,并创建缓存重定向和内容交换策略并将其绑定到此虚拟服务器。
有关如何在设备上启用缓存重定向和负载平衡的详细信息,请参阅 启用缓存重定向和负载平衡。
分享:
分享:
本文中包含的内容
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.