跳转到内容
搜索文档

对列表中的主机名缓存全部内容

对列表中的主机名缓存全部内容

最后更新 查看 MarkdownAgent 设置

创建缓存规则,缓存匹配自定义主机名列表的主机名的所有内容:

  • When incoming requests match(当传入请求匹配时):Custom filter expression(自定义过滤表达式)

    • Using the Expression Builder(使用表达式构建器):
      Hostname is in list "my_hostnames"
    • Using the Expression Editor(使用表达式编辑器):
      (http.host in $my_hostnames)
  • Then(然后)

    • Cache eligibility(缓存资格):Eligible for cache(符合缓存条件)

这篇文档对您有帮助吗?