Skip to content

Cache everything for hostnames in a list

Cache everything for hostnames in a list

Create a cache rule to cache everything for hostnames that match a custom hostname list:

  • 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