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)
- Using the Expression Builder:
-
Then:
- Cache eligibility: Eligible for cache